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

<channel>
	<title>Vegard Hammerseth</title>
	<atom:link href="http://vegard.hammerseth.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vegard.hammerseth.com</link>
	<description>Geekness by remote</description>
	<lastBuildDate>Wed, 09 May 2012 21:14:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Kinect controlled robotic arm</title>
		<link>http://vegard.hammerseth.com/2012/05/kinect-controlled-robotic-arm/</link>
		<comments>http://vegard.hammerseth.com/2012/05/kinect-controlled-robotic-arm/#comments</comments>
		<pubDate>Tue, 08 May 2012 10:16:56 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=891</guid>
		<description><![CDATA[At NTNU, each student must take this Experts in Teamwork course. Everyone hates it, but as everything else, it is what you make it and it is an important course! I landed (yeah, randomly chosen) on Human and Robots village. Its called village, just as a theme name our objective. Its common at NTNU to [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://ntnu.no">NTNU</a>, each student must take this <a href="http://www.ntnu.edu/eit">Experts in Teamwork</a> course. Everyone hates it, but as everything else, it is what you make it and it is an important course!</p>
<p>I landed (yeah, randomly chosen) on Human and Robots village. Its called village, just as a theme name our objective.</p>
<p>Its common at NTNU to just do pure reports. Boring paper work. Being a more practical person, I suggested that we tried to physically control a robot with human movements. We found a <a href="http://www.google.com/search?q=puma+manipulator&amp;tbm=isch">PUMA</a>-like manipulator on campus and started to develop the software for it. The robot was slow, very slow, but it worked good for a proof of concept.</p>
<p>The robot was hooked to a regular computer which uses Kinect to find humans to control the robot. Kinect then detects your arm and each joint in your arm, except fingers due to bad resolution. The angles between each joint is then calculated and sent to the robot which then replicate these angles in its joints.</p>
<p><a href="http://vegard.hammerseth.com/wp-content/uploads/2012/05/Oppsett_v2.jpg"><img class="alignnone" title="Click to enlarge" src="http://vegard.hammerseth.com/wp-content/uploads/2012/05/Oppsett_v2-276x300.jpg" alt="" width="166" height="180" /></a></p>
<p>Watch <a href="http://youtu.be/Jq44s94dBv0">video 1</a> and <a href="http://youtu.be/10rOd2iuQ3c">video 2</a> on Youtube.</p>
<p>I have source code and the report (in Norwegian) for this project. Leave me a comment and I will send it to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2012/05/kinect-controlled-robotic-arm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w3btorrent 0.9.1 released</title>
		<link>http://vegard.hammerseth.com/2012/05/w3btorrent-0-9-1-released/</link>
		<comments>http://vegard.hammerseth.com/2012/05/w3btorrent-0-9-1-released/#comments</comments>
		<pubDate>Mon, 07 May 2012 18:17:28 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[w3btorrent]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=893</guid>
		<description><![CDATA[After some time away from this project, I have now created a new version of w3btorrent. This version is a total recode of the old version and uses rtorrent as core, where the old w3btorrent used CTorrent. It has also multi user support and enhanced AJAX interface along with some other nifty features. w3btorrent has [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vegard.hammerseth.com/wp-content/uploads/2012/05/w3btorrent_0.9.1.png"><img class="size-medium wp-image-932 alignnone" title="Click to enlarge" src="http://vegard.hammerseth.com/wp-content/uploads/2012/05/w3btorrent_0.9.1-300x77.png" alt="Screenshot of the downloads section" width="300" height="77" /></a></p>
<p>After some time away from this project, I have now created a new version of w3btorrent. This version is a total recode of the old version and uses <a href="http://libtorrent.rakshasa.no/">rtorrent</a> as core, where the old w3btorrent used <a href="http://www.rahul.net/dholmes/ctorrent/">CTorrent</a>.</p>
<p>It has also multi user support and enhanced AJAX interface along with some other nifty features.</p>
<p>w3btorrent has changed home page from sourceforge.net to Google Code. This is because Google has a simpler page. Visit w3btorrents new <a href="http://code.google.com/p/w3btorrent/">home page</a> if you have no idea what it is or want to try it. It&#8217;s free of charge without any warrenty.</p>
<p>I recommend using the Debian package which is available from the <a href="http://code.google.com/p/w3btorrent/">home page</a>. That is, if you are using Ubuntu. You just download it, install it and you&#8217;re done.</p>
<p>w3btorrent is also on <a href="https://github.com/vegham/w3btorrent">github</a> if you want to browse source or latest version.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2012/05/w3btorrent-0-9-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xubuntu 12.04 Precise Pangloin MacBook Pro 5.3 complete setup</title>
		<link>http://vegard.hammerseth.com/2012/04/xubuntu-12-04-precise-pangloin-macbook-pro-5-3-complete-setup/</link>
		<comments>http://vegard.hammerseth.com/2012/04/xubuntu-12-04-precise-pangloin-macbook-pro-5-3-complete-setup/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 11:50:52 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=856</guid>
		<description><![CDATA[This post will basically work like a log for myself, but I&#8217;ll try to write decent so any one can take advantage of my setup. It was written before https://help.ubuntu.com/community/MacBookPro5-3/Precise was documented. Installing Burn Xubuntu to a CD/DVD and boot from it. If you&#8217;re having hard trouble booting, just hit F6 and select &#8220;nomodeset&#8221; before [...]]]></description>
			<content:encoded><![CDATA[<p>This post will basically work like a log for myself, but I&#8217;ll try to write decent so any one can take advantage of my setup. It was written before <a href="https://help.ubuntu.com/community/MacBookPro5-3/Precise">https://help.ubuntu.com/community/MacBookPro5-3/Precise</a> was documented.</p>
<p><strong>Installing</strong><br />
Burn Xubuntu to a CD/DVD and boot from it. If you&#8217;re having hard trouble booting, just hit F6 and select &#8220;nomodeset&#8221; before booting live CD. After this basically everything works in live mode, but I recommends you to manually turn on the fans so you don&#8217;t overheat anything. Open a terminal, <code>sudo -i</code> and write<br />
<code><br />
echo 6000 &gt; /sys/devices/platform/applesmc.768/fan1_min<br />
echo 6000 &gt; /sys/devices/platform/applesmc.768/fan2_min<br />
</code><br />
If 6000 is too much noise, just dial it down to 5000 or so.</p>
<p>&nbsp;</p>
<p><strong>Fan control</strong><br />
Firstly, install fan control unit so we don&#8217;t have to write to fan?_min manually. This program is called <em>macfanctld</em> and is found over at <a href="http://ppa.launchpad.net/mactel-support/ppa/ubuntu/pool/main/m/">mactel ppa</a>.</p>
<p>&nbsp;</p>
<p><strong>Network &#8211; wireless</strong><br />
During installation you should be able to install this from the tray area. If now, you can do it now.</p>
<p>&nbsp;</p>
<p><strong>Graphics</strong><br />
Nvidia proprietate driver is my choice and is available from the restricted drivers menu. At this point glxgears (sudo apt-get install mesa-utils) gives me 4900-5000 FPS.</p>
<p>I use an additional monitor attached to my machine at home and choose therefore to write this to <code>/etc/X11/xorg..conf</code>.</p>
<p>I also added some additional code to dial the gfx performance and heat waste down by adding<br />
<code>Option "Coolbits" "1"<br />
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"</code><br />
to device section.</p>
<p>&nbsp;</p>
<p><strong>Keyboard light</strong><br />
not working yet</p>
<p>&nbsp;</p>
<p>That&#8217;s the general part. Stuff that I have not mentioned can you assume is working out of the box (sound, camera, suspend etc.). Now I will share my desktop setup.</p>
<p>&nbsp;</p>
<p><strong>Xubuntu Layout</strong><br />
Xubuntu team creates to panel which is not how Xfce usually appears. This doesn&#8217;t matter because I change it completely. I remove all panels and add a new one to right down corner. This panel is set small and to auto hide. This is where I have tray icons.</p>
<p>How will I launch applications? by going to Desktop settings I chose to remove icons and that minimized programs should appear as icons on desktop. This automatically makes left mouse click on desktop to the main launch menu.</p>
<p>Now we basically only have a background image.</p>
<p>&nbsp;</p>
<p><strong>Launch quicklier</strong><br />
To be able to launch applications quickly, I choose to use Kupfer and the right CMD-key which is default mapped to Super_R. We can remap this with <code>xmodmap -e "keycode 134 = Menu"</code> which can be put in startup and then edit <code>~/.config/kupfer/kupfer.cfg</code> and change it to &#8220;keybinding = Menu&#8221;.</p>
<p>Additionally to Kupfer there is Gnome-Do and Synapse.</p>
<p>&nbsp;</p>
<p><strong>Music</strong><br />
Xubuntu is shipped with gmusicbrowser which is a very light music player with enough features (for me at least).</p>
<p>Go to Settings Manager -&gt; Keyboard -&gt; Application shortcuts and add<br />
&#8220;gmusicplayer -cmd PrevSong&#8221; for &#8220;X86AudioPrev&#8221;<br />
&#8220;gmusicplayer -cmd PlayPause&#8221; for &#8220;X86AudioPlay&#8221;<br />
&#8220;gmusicplayer -cmd NextSong&#8221; for &#8220;X86AudioNext&#8221;</p>
<p>&nbsp;</p>
<p><strong>File browsing</strong><br />
I uninstalled Thunar and installed Nautilus. They appear equal fast and clean, but nautilus has additional features such as bookmarking and volume management. Also, Nautilus has dropbox support. For the record,</p>
<p>&nbsp;</p>
<p><strong>Email notify</strong><br />
XFce has a neat mail plugin for the panel called <em>Mail Watcher</em>. I configured it for GMail (you&#8217;ll figure it out) and added a OSD notifier (on screen display) in the field where it runs a command for each new email. I used <code>notify-send -i /usr/share/app-install/icons/gnome-gmail.png -t 99999999 "New Email" "<a href="https://mail.google.com/mail/#inbox">Read message</a>"</code></p>
<p>&nbsp;</p>
<p><strong>Chromium crap</strong><br />
Chromium keeps asking about being default browser this did not work: <code>sudo update-alternatives --config x-www-browser</code></p>
<p>Flash is some piece of shitware and this time it adds blue tint over videos on youtube. You can fix it with<br />
<code><br />
sudo mkdir /etc/adobe<br />
echo -e "EnableLinuxHWVideoDecode=1\nOverrideGPUValidation=true" | sudo tee /etc/adobe/mms.cfg &gt; /dev/null<br />
</code><br />
&nbsp;</p>
<p>Take a look at the table below for programs which ease my work (randomly listed)</p>
<table>
<tbody>
<tr>
<td><strong>Name</strong></td>
<td><strong>Package</strong></td>
<td><strong>Description</strong></td>
<td><strong>Comment</strong></td>
</tr>
<tr>
<td>Xournal</td>
<td>xournal</td>
<td>highlighting in PDF documents</td>
<td></td>
</tr>
<tr>
<td>PDF Mod</td>
<td>pdfmod</td>
<td>edit pdf documents</td>
<td></td>
</tr>
<tr>
<td>VMware</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>MATLAB</td>
<td>my own package</td>
<td>to mathematical operations</td>
<td></td>
</tr>
<tr>
<td>Audacity</td>
<td>audacity</td>
<td>audio editing</td>
<td></td>
</tr>
<tr>
<td>X Video Capture</td>
<td>xvidcap</td>
<td></td>
<td></td>
</tr>
<tr>
<td>VideoLAN</td>
<td>vlc</td>
<td>Video viewer</td>
<td></td>
</tr>
<tr>
<td>Bluefish</td>
<td>bluefish</td>
<td>Development editor</td>
<td></td>
</tr>
<tr>
<td>Tex Maker</td>
<td>texmaker</td>
<td>Write latex documents</td>
<td></td>
</tr>
<tr>
<td>Chrome</td>
<td>chromium-browser</td>
<td>Web browser</td>
<td></td>
</tr>
<tr>
<td>Dropbox</td>
<td>nautilus-dropbox</td>
<td>File syncer</td>
<td>Must have or similar</td>
</tr>
<tr>
<td>Skype</td>
<td>skype</td>
<td>Video chat program</td>
<td>It just works</td>
</tr>
<tr>
<td> WiIThon</td>
<td>wiithon</td>
<td>Put Wii games on removable devices</td>
<td><a href="https://launchpad.net/wiithon">https://launchpad.net/wiithon</a></td>
</tr>
<tr>
<td></td>
<td>gshutdown</td>
<td>Set a timeout when your machine should be off</td>
<td>Rarley use this</td>
</tr>
<tr>
<td>Tilda</td>
<td>tilda</td>
<td>Dropdown console</td>
<td>Use it all the time</td>
</tr>
<tr>
<td>WINE</td>
<td>wine</td>
<td></td>
<td></td>
</tr>
<tr>
<td>BOOT-up-MANAGER</td>
<td>bum</td>
<td>Modify GRUB graphically</td>
<td></td>
</tr>
<tr>
<td></td>
<td>usb-creator-gtk</td>
<td>create startup USBs</td>
<td></td>
</tr>
<tr>
<td></td>
<td>firestarter</td>
<td>setup a firewall or share a connection</td>
<td></td>
</tr>
<tr>
<td></td>
<td>ubuntu-restricted-extras</td>
<td>Java and Flash</td>
<td></td>
</tr>
<tr>
<td></td>
<td>macfanctld</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Netbeans</td>
<td>netbeans</td>
<td>IDE for programming</td>
<td>I use this when programming Java</td>
</tr>
<tr>
<td></td>
<td>apt-file</td>
<td>Search for specific files in your repository</td>
<td></td>
</tr>
<tr>
<td>Cheese</td>
<td>cheese</td>
<td>Webcamera application</td>
<td></td>
</tr>
<tr>
<td>Kupfer</td>
<td>kupfer</td>
<td>Do thing quickly</td>
<td>Must have or similar</td>
</tr>
<tr>
<td>Nmap</td>
<td>nmap</td>
<td>Network map &#8211; look for services on the net</td>
<td>Must have</td>
</tr>
<tr>
<td>MPlayer</td>
<td>mplayer</td>
<td>Simple video player. What VLC dosen&#8217;t take, this does.</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2012/04/xubuntu-12-04-precise-pangloin-macbook-pro-5-3-complete-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fit-PC 2 as HTPC using Lubuntu 11.10 Oneiric Ocelot</title>
		<link>http://vegard.hammerseth.com/2012/04/fit-pc-2-as-htpc-using-lubuntu-12-04-precise-pangolin/</link>
		<comments>http://vegard.hammerseth.com/2012/04/fit-pc-2-as-htpc-using-lubuntu-12-04-precise-pangolin/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 16:46:49 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=852</guid>
		<description><![CDATA[How to setup your Fit-PC2 rev 1.4 as HTPC with a Ubuntu variant. I tried first to install 12.04 beta2 and blacklist poulsbo driver. Such that psb_gfx driver should be active. It worked, but I only gained 101 FPS out of glxgears and 5 FPS in XBMC with standard size window. I tried to use [...]]]></description>
			<content:encoded><![CDATA[<p>How to setup your Fit-PC2 rev 1.4 as HTPC with a Ubuntu variant.</p>
<p>I tried first to install 12.04 beta2 and blacklist poulsbo driver. Such that psb_gfx driver should be active. It worked, but I only gained 101 FPS out of glxgears and 5 FPS in XBMC with standard size window. I tried to use EMGD-1.8 and EMGD-1.10, but they do not work with the current (1.10) X.org version.</p>
<p>I chose to roll back to 11.10 by using the alternate installer (way better and faster than graphical) and ran the same drivers and tested them with glxgears. Default driver (poulsbo) gave 119 FPS. With XBMC it gave staggering 0.3 FPS.</p>
<p>I installed EMGD-1.10 and it gave me 325 FPS. In XBMC it gave only 5 FPS because this driver does not support API calls which XBMC uses.</p>
<p>Installation of EMGD-1.10 yields<br />
<code>sudo add-apt-repository ppa:gma500/emgd110<br />
sudo apt-get update<br />
sudo apt-get install emgd-support<br />
sudo emgd-xorg-conf</code></p>
<p>I rebooted and found my old Samsung TV not supporting the current resolution. Luckily, I had installed SSHD and was able to connect to the machine to edit the config. The config in <code>/usr/share/X11/x.org.d/10-emgd.conf</code> was given 1920&#215;1080 which my TV does not support.</p>
<p>The TV is very strict and to find a working resolution and refresh rate I used <code>emgdui</code> to at least get a picture. I den used <code>xrandr -s 800x600 -r 60</code> to set different resolutions and refresh rates before saving it to the config.</p>
<p>The config is now:<br />
<code>Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen 0 "Screen0" 0 0<br />
EndSection<br />
Section "Device"<br />
Identifier "Intel_EMGD-0"<br />
Driver "emgd"<br />
VendorName "Intel(R) DEG"<br />
BoardName "Embedded Graphics"<br />
BusID "0:2:0"<br />
Screen 0<br />
VideoRAM 131072<br />
Option "PcfVersion" "1792"<br />
Option "ConfigId" "1"<br />
Option "ALL/1/name" "lvds-display"<br />
Option "ALL/1/General/PortOrder" "240000"<br />
Option "ALL/1/General/DisplayConfig" "2"<br />
Option "ALL/1/General/DisplayDetect" "1"<br />
Option "ALL/1/General/Accel" "1"<br />
Option "PortDrivers" "svdo lvds"<br />
Option "ALL/1/General/VideoRAM" "131072"<br />
Option "ALL/1/Port/2/General/name" "VGA"<br />
Option "ALL/1/Port/2/General/Edid" "1"<br />
Option "ALL/1/Port/2/Attr/70" "0"<br />
Option "ALL/1/Port/4/General/name" "LVDS"<br />
Option "ALL/1/Port/4/General/Edid" "1"<br />
Option "ALL/1/Port/4/Attr/70" "0"<br />
Option "TVOverScan" "0.5"<br />
EndSection<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Intel_EMGD-0"<br />
Monitor "LVDS"<br />
SubSection "Display"<br />
Depth 24<br />
Modes "720x480"<br />
EndSubSection<br />
EndSection<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
Section "Extensions"<br />
Option "composite" "enable"<br />
EndSection</code></p>
<p>XMBC had to be installed and this new XBMC 11 Eden has just been released and was installed with<br />
<code>sudo add-apt-repository ppa:team-xbmc<br />
sudo apt-get update<br />
sudo apt-get install xbmc<br />
sudo apt-get update<br />
sudo apt-get upgrade</code></p>
<p>Since I want to use XBMC and this driver was the best out of worst, I changed the XBMC setup to use mplayer which plays the movies smooth. You can change this in <code>~/.xbmc/userdata/playercorefactory.xml</code>.</p>
<p>My file contains:<br />
<code>&lt;playercorefactory&gt;<br />
&lt;players&gt;<br />
&lt;player name="mMplayer" type="ExternalPlayer" audio="false" video="true"&gt;<br />
&lt;filename&gt;/usr/bin/mplayer&lt;/filename&gt;<br />
&lt;args&gt;-fs&lt;/args&gt;<br />
&lt;/player&gt;<br />
&lt;/players&gt;<br />
&lt;rules action="prepend"&gt;<br />
&lt;rule filetype="avi|mkv|ogm|wmv|mov|m2t|mpg|mp4|m2v" player="mMplayer"/&gt;<br />
&lt;/rules&gt;<br />
&lt;/playercorefactory&gt;</code></p>
<p>Which basically states that any of the given file types should be played with mplayer with the -fs argument (fullscreen).</p>
<p>With this setup you will get pretty decent performance and almost, just almost enough juice to play HD videos.</p>
<p>If you want to make XBMC automatically update it&#8217;s movie library add &lt;code&gt;* 0,8,12,16,20,22 * * * wget -T 60 -t 5 -q -O /dev/null &#8220;<a href="http://user:passwd@localhost:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn">http://user:passwd@localhost:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn</a>(updatelibrary(video))&#8221;&lt;/code&gt; to &lt;code&gt;crontab -e&lt;/code&gt;.</p>
<p>Don&#8217;t forget to enable XBMC HTTP control inside XBMC and setup a username and password which do edit in the crontab line.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2012/04/fit-pc-2-as-htpc-using-lubuntu-12-04-precise-pangolin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing finch (pidgin) without root access</title>
		<link>http://vegard.hammerseth.com/2012/03/installing-finch-pidgin-without-root-access/</link>
		<comments>http://vegard.hammerseth.com/2012/03/installing-finch-pidgin-without-root-access/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 17:56:02 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=842</guid>
		<description><![CDATA[This thread will explain how you can install finch on a computer without root access or a system without any package manager for that matter. This can be bit tricky and I&#8217;ll share my recipe. When I wrote this I could just mark all the commands below in a single selection, paste it in my [...]]]></description>
			<content:encoded><![CDATA[<p>This thread will explain how you can install finch on a computer without root access or a system without any package manager for that matter. This can be bit tricky and I&#8217;ll share my recipe. When I wrote this I could just mark all the commands below in a single selection, paste it in my terminal and it would install everything like a shell script. Hope it still does.</p>
<p>First go to <a href="http://pidgin.im/download/source/">http://pidgin.im/download/source/</a> and download the source.</p>
<p><code><br />
# I need nucrsesw to support Norwegian characters, skip this if you have it or don't need it<br />
wget "ftp://invisible-island.net/ncurses/ncurses-5.9.tar.gz"<br />
tar zxf ncurses-5.9.tar.gz<br />
cd ncurses-5.9/<br />
./configure --prefix=$HOME/.ncursesw -enable-widec --with-shared ;make;make install<br />
# bug workaround<br />
cd $HOME/.ncursesw/include/ncursesw/<br />
ln -s . ncursesw<br />
cd</code></p>
<p><code># Missing intltool, skip this if you have it<br />
wget "http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.5.tar.bz2"<br />
tar jxf intltool-0.35.5.tar.bz2<br />
cd intltool-0.35.5<br />
./configure --prefix=$HOME/.intltool &#038;&#038; make &#038;&#038; make install<br />
declare -x PATH="$PATH:$HOME/.intltool/bin"<br />
cd </code></p>
<p><code># install finch<br />
wget "http://sourceforge.net/projects/pidgin/files/Pidgin/2.10.3/pidgin-2.10.3.tar.bz2/download"<br />
tar jxf download<br />
cd pidgin-2.10.3/<br />
./configure --prefix=$HOME/.job --disable-vv --disable-meanwhile --disable-avahi --disable-nm --disable-perl --disable-screensaver --disable-sm --disable-gtkui --disable-pixmaps-install --disable-dbus --disable-gstreamer --disable-tcl --disable-doxygen --disable-dot --with-ncurses-headers=$HOME/.ncursesw/include/ncursesw/ LDFLAGS=-L$HOME/.ncursesw/include/ncursesw/<br />
make<br />
make install<br />
cd<br />
</code></p>
<p>You should now have successfully installed finch. And we can move the garbage.<br />
<code>rm -rf intltool-0.35.5* ncurses-5.9* pidgin* .nursesw .intltool</code></p>
<p>I moved finch from ~/.job/bin/finch to ~/.job/job. I use these strange path&#8217;s and names to not rise suspicion because the server has many many users which may browse `ps aux`.</p>
<p>I also wanted mouse support so I added <code>mouse = 1</code> in ~/.gntrc. Since I will run finch in screen I had to start screen and finch with <code>screen -T xterm ./job</code> or the config was not loaded.</p>
<p>For convenience I added this to crontab with <code>env EDITOR=nano crontab -e</code> and made sure it was running each 10min with <code>0,10,20,30,40,50 * * * * if [ -z "`ps --no-heading -C job`" ]; then cd /home/1/h/hammerseth/.job;screen -T xterm -d -m ./job;fi</code></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2012/03/installing-finch-pidgin-without-root-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>64-bit Linux and Matlab mex solution</title>
		<link>http://vegard.hammerseth.com/2012/02/64-bit-linux-and-matlab-mex-solution/</link>
		<comments>http://vegard.hammerseth.com/2012/02/64-bit-linux-and-matlab-mex-solution/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 20:46:37 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=830</guid>
		<description><![CDATA[Ever gotten the error below? Warning: You are using gcc version "4.5.2-8ubuntu4)". The version currently supported with MEX is "4.3.4". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/ &#160; I recently did when making some S-functions in simulink (matlab). After some Googling a found this post which had the answer. You can use their [...]]]></description>
			<content:encoded><![CDATA[<p>Ever gotten the error below?<br />
<code>Warning: You are using gcc version "4.5.2-8ubuntu4)". The version<br />
currently supported with MEX is "4.3.4".<br />
For a list of currently supported compilers see:</p>
<p>http://www.mathworks.com/support/compilers/current_release/</code></p>
<p>&nbsp;</p>
<p>I recently did when making some S-functions in simulink (matlab).</p>
<p>After some Googling a found this <a href="http://ubuntugeeknerd.blogspot.com/2011/11/mysqlm-compile-64-bit-ubuntu-linux.html">post</a> which had the answer. You can use their solution or the following script:</p>
<p><code> sudo updatedb # it is required to have run this after you installed matlab, the command below uses this<br />
cd $(dirname $(locate "sys/os/glnxa64/"|tail -1)) # change dir to matlab path<br />
mv libstdc++.so.6 libstdc++.so.6.orig # this...<br />
mv libgcc_s.so.1 libgcc_s.so.1.orig # and this is the actual fix<br />
</code></p>
<p>You don&#8217;t even have to restart Matlab.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2012/02/64-bit-linux-and-matlab-mex-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manned electric multicopter</title>
		<link>http://vegard.hammerseth.com/2011/11/manned-electric-multicopter/</link>
		<comments>http://vegard.hammerseth.com/2011/11/manned-electric-multicopter/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 17:23:35 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=808</guid>
		<description><![CDATA[Quadcopters are very popular these days, but one can also increase number of motors to a multicopter. One can also make it big, like these Germans did. Simple, yet amazing.]]></description>
			<content:encoded><![CDATA[<p>Quadcopters are very popular these days, but one can also increase number of motors to a multicopter.</p>
<p>One can also make it big, like these Germans did. Simple, yet amazing.</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/L75ESD9PBOw" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/11/manned-electric-multicopter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solar panels for the future</title>
		<link>http://vegard.hammerseth.com/2011/10/solar-panels-for-the-future/</link>
		<comments>http://vegard.hammerseth.com/2011/10/solar-panels-for-the-future/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 17:03:37 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=800</guid>
		<description><![CDATA[A new way of harvesting sun energy has been developed and is was presented at Ted a few days ago. This amazing technology is transparent which means you can generate energy from the windows of your house! You can even cover an entire electric car with this stuff. Head on over to TED.com and watch [...]]]></description>
			<content:encoded><![CDATA[<p>A new way of harvesting sun energy has been developed and is was presented at Ted a few days ago. This amazing technology is transparent which means you can generate energy from the windows of your house! You can even cover an entire electric car with this stuff.</p>
<p><a href="http://www.ted.com/talks/justin_hall_tipping_freeing_energy_from_the_grid.html" title="TED">Head on over to TED.com and watch the presentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/10/solar-panels-for-the-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ten robotics videos for you</title>
		<link>http://vegard.hammerseth.com/2011/10/ten-robotics-videos-for-you/</link>
		<comments>http://vegard.hammerseth.com/2011/10/ten-robotics-videos-for-you/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 17:03:24 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=798</guid>
		<description><![CDATA[Brain controlled car. Radio controlled flying sourcer. Modular and flexible robot. How Festo Bird came to life. Smallest Quadcopter. Ship (metal) boarding robot. Efficient and precise movements for lasercutter robot. Robot designed for tree climbing, notice the additional weight. Vehicle using ground effect for efficient movement. Hybrid legged and wheeled robot.]]></description>
			<content:encoded><![CDATA[<p>Brain controlled car.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/iDV_62QoHjY" frameborder="0" allowfullscreen></iframe></p>
<p>Radio controlled flying sourcer.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/KXVtUCABiv8" frameborder="0" allowfullscreen></iframe></p>
<p>Modular and flexible robot.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/6qxx7K17L_8" frameborder="0" allowfullscreen></iframe></p>
<p>How Festo Bird came to life.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/kA7PNQiHT1Q" frameborder="0" allowfullscreen></iframe></p>
<p>Smallest Quadcopter.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/XRuWf2h7_5Q" frameborder="0" allowfullscreen></iframe></p>
<p>Ship (metal) boarding robot.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/5fzi7fxknIc" frameborder="0" allowfullscreen></iframe></p>
<p>Efficient and precise movements for lasercutter robot.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/7k20Zp5aPjY" frameborder="0" allowfullscreen></iframe></p>
<p>Robot designed for tree climbing, notice the additional weight.<br />
<iframe width="425" height="349" src="http://www.youtube.com/embed/zmqDePXM89Y" frameborder="0" allowfullscreen></iframe></p>
<p>Vehicle using ground effect for efficient movement.<br />
<iframe width="425" height="349" src="http://www.youtube.com/embed/EaN7Kxk1_e8" frameborder="0" allowfullscreen></iframe></p>
<p>Hybrid legged and wheeled robot.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/a9N6Zb_K2Z0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/10/ten-robotics-videos-for-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Robotics?</title>
		<link>http://vegard.hammerseth.com/2011/10/why-robotics/</link>
		<comments>http://vegard.hammerseth.com/2011/10/why-robotics/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 17:03:05 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=802</guid>
		<description><![CDATA[Robotics is as complex as a discipline gets, being equal parts creativity, engineering, mathematical talent, and a range of scientific knowledge that enables individuals or teams to create robots &#8211; artificial constructs designed to complete menial tasks. But what potential benefits can they have, and how difficult is it to pursue a career in robotics? [...]]]></description>
			<content:encoded><![CDATA[<p>Robotics is as complex as a discipline gets, being equal parts creativity, engineering, mathematical talent, and a range of scientific knowledge that enables individuals or teams to create robots &#8211; artificial constructs designed to complete menial tasks. But what potential benefits can they have, and how difficult is it to pursue a career in robotics? </p>
<p>For starters, the advantages of using robots instead of human beings is quite clear, for two reasons. They are less likely to make mistakes when it comes to menial, repetitive tasks that go on for hours, and although this is slowly pushing menial labour in manufacturing out into the job market, it does have advantages, as jobs can be created elsewhere and we can begin to phase out manual labour that can be somewhat unsatisfying for many individuals. </p>
<p>Now, whether you&#8217;re a scientist or a <a href="http://www.partypoker.com/">partypoker.com</a> pro, you&#8217;ll know that when it comes to exploring unknown territory, either terrestrial or otherwise, we&#8217;ve begun to rely on robots rather than human beings. Not only does this avoid putting anything living at risk, it also means we can push further and further than ever before. From minefields to Mars, it&#8217;s enabled us to explore and make safe areas that we could previously never experience without putting people at risk. </p>
<p>To get into robotics takes an incredible dedication to your craft, and a shedload of enthusiasm &#8211; but it can be done. Focusing on mathematics, physics, engineering, product design throughout your education, followed by specific study of robotics at, say, Carnegie Mellon, is an ideal route in &#8211; but it does take a lot of time and effort. This isn&#8217;t a Hollywood production &#8211; it requires years of studying and practical projects that aren&#8217;t quite as big or exciting as the robotics frontier, but the end rewards are incredible. So good luck, and who knows &#8211; we might even be featuring videos of your robot on the site, one day. </p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/10/why-robotics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

