<?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:blogger='http://schemas.google.com/blogger/2008' 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-7404545775876984425</id><updated>2024-09-12T06:27:24.953-07:00</updated><title type='text'>Lessons Learned</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-6973462520880091584</id><published>2013-01-10T17:16:00.003-08:00</published><updated>2013-01-10T17:16:25.583-08:00</updated><title type='text'>.NET TcpClient: &quot;An established connection was aborted by the software in your host machine&quot;</title><content type='html'>My client app was getting the exception suddenly. &amp;nbsp;After a lot of hair pulling it seems that a minor change in the hostname given to the TcpClient was the culprit. &amp;nbsp;The client was connecting to a server on the local machine and got the error when using the fully qualified name (eg. machine.domain.local) of the local machine as the hostname for TcpClient. &amp;nbsp;The problem goes away when I change the hostname parameter to &#39;127.0.0.1&#39;. &amp;nbsp;It seems like TcpClient sockets has collision issues when connecting to localhost by the network name.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/6973462520880091584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2013/01/net-tcpclient-established-connection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/6973462520880091584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/6973462520880091584'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2013/01/net-tcpclient-established-connection.html' title='.NET TcpClient: &quot;An established connection was aborted by the software in your host machine&quot;'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-1596598604483224943</id><published>2013-01-07T22:35:00.001-08:00</published><updated>2013-01-07T22:35:03.495-08:00</updated><title type='text'>jQuery sortable Interaction</title><content type='html'>Had a simple ASP.NET MVC 4 app and decided to play with jQuery. &amp;nbsp;Tabs worked fine but &#39;sortable&#39; lists and table-rows didn&#39;t drag or drop. &amp;nbsp;Turns out that I was including 2 versions of jquery-ui-xxxx.js scripts in my BundleConfig.RegisterBundles call. &amp;nbsp;took out the reference to jquery-ui-1.8.20.js and sortable worked.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/1596598604483224943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2013/01/jquery-sortable-interaction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/1596598604483224943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/1596598604483224943'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2013/01/jquery-sortable-interaction.html' title='jQuery sortable Interaction'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-8073242747850873866</id><published>2012-04-12T10:30:00.002-07:00</published><updated>2012-04-12T10:30:40.244-07:00</updated><title type='text'>Nokia N900: Connection Problems</title><content type='html'>A couple of days ago I noticed that my N900 could no longer update the weather (OMWeather) when connected to my home wifi network. &amp;nbsp;The network connection was fine but it seemed like I had no internet connection (email, browser, ftp, etc); however, the other devices on the same wifi network had no such problem. &amp;nbsp;The strange thing was that my Skype account was logged in successfully on the N900, all my other VOIP/IM accounts reported &#39;Network Error.&#39; &amp;nbsp;I switched to my 3G network and experienced the same thing: only Skype worked. &amp;nbsp;When I got to work and connected to the office&#39;s wifi, everything was fine.&lt;br /&gt;
&lt;br /&gt;
The key symptom was that &#39;ping-ing&#39; anything would fail on the 3G or home-wifi networks but succeeded on the office wifi-network. &amp;nbsp;A DNS problem. &amp;nbsp;The /etc/resolv.conf had been automatically changed by &lt;b&gt;vpnc &lt;/b&gt;to point to the office&#39;s dns. &amp;nbsp;I don&#39;t know why this problem suddenly&amp;nbsp;happened&amp;nbsp;now, but I&#39;ve commented out the entries in /etc/resolv.conf to fix the problem (for now?).</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/8073242747850873866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2012/04/nokia-n900-connection-problems.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/8073242747850873866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/8073242747850873866'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2012/04/nokia-n900-connection-problems.html' title='Nokia N900: Connection Problems'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-3012281532750595915</id><published>2009-07-10T14:39:00.000-07:00</published><updated>2009-07-10T14:48:57.303-07:00</updated><title type='text'>Linksys PAP2 Overheating Problem</title><content type='html'>Bought it off ebay (new, unlocked NA version) from China and all was well for about 3 weeks.  Then Line-1 stopped working: no dial tone, just some popping sound when I lift the receiver.  Line-2 was still OK.  However, a few days later Line-2 also dies.  When unplugging the device I noticed that it was very hot; so I left it unplugged until it cooled down.  The cool device came back to life and all worked for about 20 minutes until it got very hot again.  Did this a few times and now the Lines can access the internal AVR menu of the device but the SIP connections don&#39;t work anymore--even though the web-config shows that the SIP connections are online.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/3012281532750595915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2009/07/linksys-pap2-overheating-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/3012281532750595915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/3012281532750595915'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2009/07/linksys-pap2-overheating-problem.html' title='Linksys PAP2 Overheating Problem'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-2456270586838832134</id><published>2009-07-02T18:23:00.000-07:00</published><updated>2009-07-02T18:35:55.081-07:00</updated><title type='text'>Ubuntu: NetworkManager, VPN, Mediatomb Conflicts</title><content type='html'>Oh, the stupidity of wanting *too* much: I want mediatomb to startup at boot so that the media service will be available without any users logging-in.  However, using NetworkManager to manage connections doesn&#39;t configure the ethernet adapter before mediatomb starts so mediatomb dies at startup.  This is easily resolved by setting the ethernet device to autostart in /etc/networks/interfaces, but this causes NetworkManager to not show any network connections and thus you can&#39;t start any VPN connections you may have setup in NetworkManager.&lt;br /&gt;&lt;br /&gt;OK, so let&#39;s just scrap NetworkManager and use a different interface to connect to VPN.  Kvpnc seems like a good candidate so I tried that.  Unfortunately the latest release of Kvpnc (0.9.0) for Jaunty does not have support for MS-CHAP v2.  Probably have to wait for Karmic to get Kvpnc 0.9.1 which should support MS-CHAP v2.  Shit.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/2456270586838832134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2009/07/ubuntu-networkmanager-vpn-mediatomb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/2456270586838832134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/2456270586838832134'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2009/07/ubuntu-networkmanager-vpn-mediatomb.html' title='Ubuntu: NetworkManager, VPN, Mediatomb Conflicts'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-6866485674210503332</id><published>2009-06-28T13:41:00.000-07:00</published><updated>2009-06-28T14:24:16.342-07:00</updated><title type='text'>Mediatomb uPNP Streaming to Samsung 7 series LCD TV</title><content type='html'>Installed mediatomb on ubuntu Jaunty to make my pictures, music and video available to my Samsung 7 series (2008 model) LCD TV.&lt;br /&gt;&lt;br /&gt;First problem:&lt;br /&gt;The TV recognized the mediatomb uPNP server and listed all the available folders and files; however, trying to play anything resulted in a &quot;unrecognized file format&quot; error.  I found this fix googling: you have to add a couple of elements to the custom-http-headers section in mediatomb&#39;s config.xml.  Audio and pictures works after this fix.&lt;br /&gt;    &amp;lt;custom-http-headers&amp;gt;&lt;br /&gt;        ...&lt;br /&gt;        &amp;lt;add header=&quot;transferMode.dlna.org: Streaming&quot;&amp;gt;&lt;br /&gt;        &amp;lt;add header=&quot;contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000&quot;&amp;gt;&lt;br /&gt;    &amp;lt;/custom-http-headers&amp;gt;&lt;br /&gt;&lt;a href=&quot;http://ubuntuforums.org/showthread.php?p=7528340&quot;&gt;Reference link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Second problem:&lt;br /&gt;When I got mediatomb to automatically scan my disk for media files and make them available, most AVI files were tagged with the mime-type of &#39;video/x-msvideo.&#39;  The TV doens&#39;t like this mime-type, so I added this element:       &lt;br /&gt;      &amp;lt;map from=&quot;avi&quot; to=&quot;video/mpeg&quot;&amp;gt;&lt;br /&gt;in the import/mappings/extension-mimetype section.  After rescanning the disk, AVI files now have a mime-type of &#39;video/mpeg&#39; which the TV likes and most divx-encoded files play perfectly.&lt;br /&gt;&lt;br /&gt;Third problem:&lt;br /&gt;Some video resulted in &#39;unsupported video/audio codec&#39; errors.  I had already enabled mediatomb&#39;s transcoding feature and set mkv files to be transcoded using MPlayer&#39;s mencoder (google &#39;mediatomb samsung config.xml&#39;).  So I figured why not just transcode files that don&#39;t play nice on the TV directly.  I configed files that are tagged with the mime-type of video/x-msvideo to be transcoded by mencoder as well.  Then when I run across a file that won&#39;t play nice on the TV directly, I use mediatomb to set it&#39;s mime-type to video/x-msvideo.  BTW, I did try transcoding using VLC but it didn&#39;t work for me; kept getting the &#39;unsported format&#39; error even though VLC was doing something.&lt;br /&gt;&lt;br /&gt;Forth problem:&lt;br /&gt;Transcoding works very well except that when playing large, 720p or 1080p video, my computer couldn&#39;t transcode fast enough and you get pauses (every second or two) in the playback.  But if I pause the playback, the buffer gets a chance to fill up and I get smoother video on resume.  The longer the pause the more the buffer fills up and more more smooth video I get.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/6866485674210503332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2009/06/mediatomb-upnp-streaming-to-samsung-7.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/6866485674210503332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/6866485674210503332'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2009/06/mediatomb-upnp-streaming-to-samsung-7.html' title='Mediatomb uPNP Streaming to Samsung 7 series LCD TV'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-3952636486533720978</id><published>2009-06-24T20:19:00.000-07:00</published><updated>2009-06-24T20:29:09.790-07:00</updated><title type='text'>Ubuntu VPN into Microsoft Server</title><content type='html'>When creating the PPTP profile make sure to turn off all authentication methods except for MSCHAPv2.  Also enable MPPE.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/3952636486533720978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2009/06/ubuntu-vpn-into-microsoft-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/3952636486533720978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/3952636486533720978'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2009/06/ubuntu-vpn-into-microsoft-server.html' title='Ubuntu VPN into Microsoft Server'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7404545775876984425.post-737829452871471268</id><published>2009-06-03T21:03:00.000-07:00</published><updated>2009-06-03T21:10:08.038-07:00</updated><title type='text'>Ubuntu - firefox - flash 10</title><content type='html'>Fought with the computer for a few hours trying to get youtube videos to be less choppy.  Thought upgrading the flash plug-in from ver. 9.x to 10.x would help.  Tried to install version 10 many times using the DEB package as well as through synaptics but could not firefox to use version 10; disabling versin 9 disables flash completely.  To make a long story short I had to override the symlinks for the alternative flash player to point it at version 10:&lt;br /&gt;&lt;br /&gt;&gt;cd /etc/alternatives&lt;br /&gt;&gt;sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so xulrunner-flashplugin&lt;br /&gt;&gt;sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so xulrunner-addons-flashplugin&lt;br /&gt;&lt;br /&gt;Both flash version 9 and 10 still show up firefox&#39;s plug-in list, but 10 is enabled and flash video is indeed smoother.</content><link rel='replies' type='application/atom+xml' href='http://starscreamlessons.blogspot.com/feeds/737829452871471268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://starscreamlessons.blogspot.com/2009/06/ubuntu-firefox-flash-10.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/737829452871471268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7404545775876984425/posts/default/737829452871471268'/><link rel='alternate' type='text/html' href='http://starscreamlessons.blogspot.com/2009/06/ubuntu-firefox-flash-10.html' title='Ubuntu - firefox - flash 10'/><author><name>Starscream</name><uri>http://www.blogger.com/profile/00383916474241283159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOhKuzyV9xg5wwBrq4DnuOQrSpHKET5pnZvqK2tWE_zUCjuz50_DcFQoATYLAdgN_9KbGwiCo8sci4H-yQJIoa9mJxwqOHwSyq76JDrj065wOkmRHRNKbMZhnYBSAD3A/s220/AvatarMaker.png'/></author><thr:total>1</thr:total></entry></feed>