<?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>Java Thinking &#187; Uncategorized</title>
	<atom:link href="http://www.javathinking.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javathinking.com</link>
	<description>Java and software development related thoughts</description>
	<lastBuildDate>Thu, 02 Feb 2012 12:16:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Solved &#8211; Trouble with the Samsung Galaxy S 1 phone</title>
		<link>http://www.javathinking.com/2012/02/solved-trouble-with-the-samsung-galaxy-1/</link>
		<comments>http://www.javathinking.com/2012/02/solved-trouble-with-the-samsung-galaxy-1/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 12:11:42 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[galaxy]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=610</guid>
		<description><![CDATA[My wife has had a Samsung Galaxy S1 Android phone for over a year now and its been great. Recently though, she&#8217;d been having terrible battery performance and had noticed that after charging the phone overnight, it was only at 50% in the morning. My first thought was to buy a new battery, but then [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>My wife has had a <a href="http://www.samsung.com/au/smartphone/galaxys/">Samsung Galaxy</a> S1 Android phone for over a year now and its been great. Recently though, she&#8217;d been having terrible battery performance and had noticed that after charging the phone overnight, it was only at 50% in the morning. My first thought was to buy a new battery, but then I figured I&#8217;d try updating the firmware first.</p>
<p>Thats when I discovered that windows couldn&#8217;t recognise the device!! This was a big issue &#8211; how could I get all of her photos off the phone?</p>
<p>Solutions:</p>
<ol>
<li>Quite by accident, she plugged her phone into an iCoustic USB charger that we got with an iPod accessory pack &#8211; this fully charged the battery and now there are no battery issues. She&#8217;d been using my iPad USB charger previously and for some reason, this makes a difference.</li>
<li>I realized that when syncing the phone with Kies I wasn&#8217;t using the original USB cable that came with the phone. We&#8217;d been using a third party cable we&#8217;d bought after losing the original one. Since we&#8217;d found the original cable I tried that and there were no problems &#8211; Windows found the drivers, installed them and recognised the phone. Kies worked fine after that.</li>
</ol>
<p>So, all is good now &#8211; the phone works fine, running Android 2.3 (Gingerbread).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2012/02/solved-trouble-with-the-samsung-galaxy-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first linux contribution is a disaster</title>
		<link>http://www.javathinking.com/2010/01/my-first-linux-contribution-is-a-disaster/</link>
		<comments>http://www.javathinking.com/2010/01/my-first-linux-contribution-is-a-disaster/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 02:56:35 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[networkmanager]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=437</guid>
		<description><![CDATA[My first attempt to contribute to Linux turns out to be a disaster, with the problem already having been addressed. But why does the source code in Trunk not reflect any changes? I have much to learn about Linux packages and source organisation.]]></description>
			<content:encoded><![CDATA[<p></p><p>So I recently submitted a patch to the NetworkManager component: https://bugzilla.gnome.org/show_bug.cgi?id=607731  &#8211; but it turns out to be a duplicate because this problem was addressed in https://bugzilla.gnome.org/show_bug.cgi?id=600779 &#8211; by default Bugzilla doesn&#8217;t seem to include &#8216;resolved&#8217; defects in the search results. You have to go to <a href="https://bugzilla.gnome.org/buglist.cgi?type0-0-4=substring&amp;short_desc=virginbroadband&amp;field0-0-0=product&amp;type0-0-1=substring&amp;field0-0-1=component&amp;field0-0-4=longdesc&amp;value0-0-2=virginbroadband&amp;query_format=advanced&amp;type0-0-3=substring&amp;value0-0-3=virginbroadband&amp;field0-0-3=status_whiteboard&amp;bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;bug_status=NEEDINFO&amp;bug_status=RESOLVED&amp;bug_status=VERIFIED&amp;value0-0-4=virginbroadband&amp;short_desc_type=allwordssubstr&amp;field0-0-2=short_desc&amp;value0-0-1=virginbroadband&amp;type0-0-0=substring&amp;value0-0-0=virginbroadband&amp;type0-0-2=substring">advanced search and select all statuses</a>.</p>
<p>So, if my patch wasn&#8217;t needed, and this issue has been resolved, then why doesn&#8217;t the <a href="http://bazaar.launchpad.net/~network-manager/mobile-broadband-provider-info/trunk/annotate/head%3A/serviceproviders.xml">source code in trunk</a> have this change? Bug 600779 mentions that service providers is deprecated, but by what? Ubuntu 9.10 still uses it, because when I edited /usr/share/mobile-broadband-provider-info/serviceproviders.xml it worked fine for me.</p>
<p>If service providers is deprecated, then why isn&#8217;t there something on the homepage? Bugzilla doesn&#8217;t seem to report which source files were changed in a bug &#8211; something I quite like in JIRA. See <a href="https://bugzilla.gnome.org/show_bug.cgi?id=600779#c1">comment #1</a>:</p>
<blockquote>
<pre id="comment_text_1" class="bz_comment_text">VirginInternet would still be used for tethering a phone, but I've added
VirginBroadband.  Thanks!</pre>
</blockquote>
<p>But what got changed? That would give me a clue.</p>
<p>Checking the version I&#8217;m running:</p>
<blockquote><p>paul@paul-laptop:~$ dpkg -s mobile-broadband-provider-info<br />
Package: mobile-broadband-provider-info<br />
Status: install ok installed<br />
Priority: extra<br />
Section: admin<br />
Installed-Size: 180<br />
Maintainer: Ubuntu MOTU Developers &lt;ubuntu-motu@lists.ubuntu.com&gt;<br />
Architecture: all<br />
Version: 20091009-0ubuntu1<br />
Breaks: libmbca0<br />
Description: database of mobile broadband service providers<br />
Contains service provider specific settings of mobile broadband providers in<br />
different countries.<br />
Homepage: http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders<br />
Original-Maintainer: Antti Kaijanmäki (Wellark) &lt;antti@kaijanmaki.net&gt;</p></blockquote>
<p>So if Ubuntu are still using it then why wouldn&#8217;t there be patches and maintenance releases?</p>
<p>Now, searching for Ubuntu specific information turns up <a href="https://wiki.ubuntu.com/NetworkManager/Hardware/3G#Provider%20info">NetworkManager provider information</a> which doesn&#8217;t have the Virgin APN I need. So how do I fix this? Well, it says:</p>
<blockquote><p>If you discover you need provider information from here or elsewhere, please file a bug against the mobile-broadband-provider-info package so we can improve the experience for all users to a level where all providers Just Work out of the box. <a class="https" href="https://bugs.launchpad.net/ubuntu/+source/mobile-broadband-provider-info">https://bugs.launchpad.net/ubuntu/+source/mobile-broadband-provider-info</a></p>
<p>As today (16/01/09) bug #317860 at Launchpad cover a lot of Service Providers missing. (<a class="https" href="https://bugs.edge.launchpad.net/ubuntu/+source/mobile-broadband-provider-info/+bug/317860">https://bugs.edge.launchpad.net/ubuntu/+source/mobile-broadband-provider-info/+bug/317860</a>)</p></blockquote>
<p>I&#8217;m was stunned to find out that this type of generic information was window manager specific (GNOME) now it looks like it is distribution specific (Ubuntu). If anyone can tell me the reasoning behind this, I&#8217;d love to know. Because right now, it looks crazy to me. Especially from a point of view that I just want to contribute something. It&#8217;s kind of weird that it&#8217;s even Operating System specific really, it really just should be a web service available to anyone and everyone, and the Operating Systems just update from it. Anyway&#8230; continuing the saga&#8230;</p>
<p>This bug report makes interesting reading. Apparently everything was fixed last year: https://bugs.launchpad.net/ubuntu/+source/mobile-broadband-provider-info/+bug/280490</p>
<p>It also says that the Virgin website documents the APN being VirginBroadband. But that page doesn&#8217;t exist any more. I can only find one reference to APN on their site, and thats the wrong one.</p>
<p>So, I&#8217;ve updated the <a href="https://wiki.ubuntu.com/NetworkManager/Hardware/3G">Ubuntu wiki</a> to add the Virgin APN to the list of providers. I wasn&#8217;t sure whether to update the Mobile Broadband Cards section with the Huawei e160e, since they&#8217;ve already got the 160 and 160g. But I can&#8217;t find any source code &#8211; I got as far as finding this: http://packages.ubuntu.com/source/lucid/mobile-broadband-provider-info &#8211; but the trail ends there.</p>
<p>Anyway, I&#8217;ve spent way too long on this. What started out as a simple patch has only shown me how little I know about the Linux environment, packages, and how the source is maintained. Maybe over time I&#8217;ll get more familiar with it all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2010/01/my-first-linux-contribution-is-a-disaster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu, Virgin Mobile Internet Pre-paid (in Sydney), and the Huawei e160e</title>
		<link>http://www.javathinking.com/2010/01/ubuntu-virgin-mobile-internet-pre-paid-and-the-huawei-e160e/</link>
		<comments>http://www.javathinking.com/2010/01/ubuntu-virgin-mobile-internet-pre-paid-and-the-huawei-e160e/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 21:12:34 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=420</guid>
		<description><![CDATA[How I got my Huawei e160e USB 3G modem working with Virgin Mobile Internet, and Ubuntu 9.10 in Australia (Sydney).]]></description>
			<content:encoded><![CDATA[<p></p><p>I recently bought a Virgin Mobile Broadband (Australia) PrePaid USB modem &#8211; a Huawei e160e. I activated it over the phone, and when I plugged it in to my Dell Inspiron 1525 running Ubuntu 9.10, I could see that it was connected to the network (this modem flashes a blue light every 3 seconds when connected to the mobile network). But, try as I might, I couldn&#8217;t get it connected. Every time I tried, it would just disconnect.</p>
<p>Looking in the system logs, I&#8217;d see:</p>
<blockquote><p>Jan  6 12:42:57 paul-laptop pppd[2846]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: pppd 2.4.5 started by root, uid 0<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: Using interface ppp0<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: Connect: ppp0 &lt;&#8211;&gt; /dev/ttyUSB0<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: CHAP authentication succeeded<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: CHAP authentication succeeded<br />
Jan  6 12:43:06 paul-laptop pppd[2846]: Modem hangup<br />
Jan  6 12:43:06 paul-laptop pppd[2846]: Connection terminated.<br />
Jan  6 12:43:07 paul-laptop pppd[2846]: Exit.</p></blockquote>
<p>I tried out using usb_modeswitch, but I never really figured out how that is supposed to be used &#8211; and it looked to me like the system knew it was a 3G modem anyway.</p>
<p>Using another machine connected to the internet, I googled around and found <a href="http://ubuntuforums.org/showpost.php?p=8612641&amp;postcount=14">an answer that worked</a>.</p>
<p>A couple of notes from my experience:</p>
<ul>
<li>This modem was not automatically detected &#8211; I had to manually start the &#8216;Network Connections&#8217; to add the connection.</li>
<li>When selecting Australia and Virgin in the Network Connections wizard, it incorrectly set the APN to &#8216;VirginInternet&#8217; &#8211; maybe this is for post-paid accounts, but I have a pre-pay, and the APN I use is &#8216;VirginBroadband&#8217; &#8211; This is probably because for Virgin, there is only one plan to select (default) &#8211; how do we get more plans defined (i.e. post-paid and pre-paid)?</li>
<li>In the PPP settings, I needed to disable CHAP &#8211; doing this in Network Connections was enough, I didn&#8217;t have to edit /etc/ppp/options</li>
<li>The username and password don&#8217;t seem to matter</li>
</ul>
<p>lsusb shows the device &#8211; interesting that it doesn&#8217;t label it e160e, but E220 / E270 ???:</p>
<blockquote><p>paul@paul-laptop:~$ lsusb<br />
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 002 Device 002: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem<br />
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam<br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</p></blockquote>
<p>Now that I have it working, this is the system log from insertion of the USB device to connecting to the network:</p>
<blockquote><p>Jan 21 07:37:54 paul-laptop kernel: [ 1281.336164] usb 2-2: new high speed USB device using ehci_hcd and address 2<br />
Jan 21 07:37:54 paul-laptop kernel: [ 1281.479581] usb 2-2: configuration #1 chosen from 1 choice<br />
Jan 21 07:37:55 paul-laptop kernel: [ 1281.581686] Initializing USB Mass Storage driver&#8230;<br />
Jan 21 07:37:55 paul-laptop kernel: [ 1281.583023] scsi5 : SCSI emulation for USB Mass Storage devices<br />
Jan 21 07:37:55 paul-laptop kernel: [ 1281.583231] usb 2-2: USB disconnect, address 2<br />
Jan 21 07:37:55 paul-laptop kernel: [ 1281.583324] usbcore: registered new interface driver usb-storage<br />
Jan 21 07:37:55 paul-laptop kernel: [ 1281.583331] USB Mass Storage support registered.<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.144163] usb 2-2: new high speed USB device using ehci_hcd and address 3<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.287791] usb 2-2: configuration #1 chosen from 1 choice<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.305526] scsi8 : SCSI emulation for USB Mass Storage devices<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.320440] scsi9 : SCSI emulation for USB Mass Storage devices<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.392549] usbcore: registered new interface driver usbserial<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.392579] USB Serial support registered for generic<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.392646] usbcore: registered new interface driver usbserial_generic<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.392650] usbserial: USB Serial Driver core<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406201] USB Serial support registered for GSM modem (1-port)<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406282] option 2-2:1.0: GSM modem (1-port) converter detected<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406451] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406471] option 2-2:1.1: GSM modem (1-port) converter detected<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406561] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406600] usbcore: registered new interface driver option<br />
Jan 21 07:38:01 paul-laptop kernel: [ 1288.406604] option: v0.7.2:USB Driver for GSM modems<br />
Jan 21 07:38:06 paul-laptop kernel: [ 1293.315709] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2<br />
Jan 21 07:38:06 paul-laptop kernel: [ 1293.325975] scsi 9:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2<br />
Jan 21 07:38:06 paul-laptop kernel: [ 1293.338298] sr1: scsi-1 drive<br />
Jan 21 07:38:06 paul-laptop kernel: [ 1293.338641] sr 8:0:0:0: Attached scsi generic sg2 type 5<br />
Jan 21 07:38:06 paul-laptop kernel: [ 1293.338970] sd 9:0:0:0: Attached scsi generic sg3 type 0<br />
Jan 21 07:38:06 paul-laptop kernel: [ 1293.353699] sd 9:0:0:0: [sdb] Attached SCSI removable disk<br />
Jan 21 07:38:17 paul-laptop pppd[2933]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.<br />
Jan 21 07:38:17 paul-laptop pppd[2933]: pppd 2.4.5 started by root, uid 0<br />
Jan 21 07:38:17 paul-laptop pppd[2933]: Using interface ppp0<br />
Jan 21 07:38:17 paul-laptop pppd[2933]: Connect: ppp0 &lt;&#8211;&gt; /dev/ttyUSB0<br />
Jan 21 07:38:17 paul-laptop pppd[2933]: PAP authentication succeeded<br />
Jan 21 07:38:17 paul-laptop kernel: [ 1304.425235] PPP BSD Compression module registered<br />
Jan 21 07:38:17 paul-laptop kernel: [ 1304.431699] PPP Deflate Compression module registered<br />
Jan 21 07:38:24 paul-laptop pppd[2933]: Could not determine remote IP address: defaulting to 10.64.64.64<br />
&#8230;</p></blockquote>
<p>When the system wasn&#8217;t working (using CHAP and the wrong APN), you can clearly see the failure:</p>
<blockquote><p>Jan  6 12:42:27 paul-laptop kernel: [  332.937183] usb 2-4: new high speed USB device using ehci_hcd and address 3<br />
Jan  6 12:42:27 paul-laptop kernel: [  333.080647] usb 2-4: configuration #1 chosen from 1 choice<br />
Jan  6 12:42:27 paul-laptop kernel: [  333.176235] Initializing USB Mass Storage driver&#8230;<br />
Jan  6 12:42:27 paul-laptop kernel: [  333.179119] scsi5 : SCSI emulation for USB Mass Storage devices<br />
Jan  6 12:42:27 paul-laptop kernel: [  333.179385] usbcore: registered new interface driver usb-storage<br />
Jan  6 12:42:27 paul-laptop kernel: [  333.179392] USB Mass Storage support registered.<br />
Jan  6 12:42:27 paul-laptop kernel: [  333.180499] usb 2-4: USB disconnect, address 3<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.752070] usb 2-4: new high speed USB device using ehci_hcd and address 4<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.905181] usb 2-4: configuration #1 chosen from 1 choice<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.921561] scsi8 : SCSI emulation for USB Mass Storage devices<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.922840] scsi9 : SCSI emulation for USB Mass Storage devices<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.948581] usbcore: registered new interface driver usbserial<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.948610] USB Serial support registered for generic<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.948706] usbcore: registered new interface driver usbserial_generic<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.948710] usbserial: USB Serial Driver core<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.970568] USB Serial support registered for GSM modem (1-port)<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.970692] option 2-4:1.0: GSM modem (1-port) converter detected<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.970862] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB0<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.970881] option 2-4:1.1: GSM modem (1-port) converter detected<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.970976] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB1<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.971016] usbcore: registered new interface driver option<br />
Jan  6 12:42:34 paul-laptop kernel: [  339.971020] option: v0.7.2:USB Driver for GSM modems<br />
Jan  6 12:42:38 paul-laptop pppd[2789]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.<br />
Jan  6 12:42:38 paul-laptop pppd[2789]: pppd 2.4.5 started by root, uid 0<br />
Jan  6 12:42:38 paul-laptop pppd[2789]: Using interface ppp0<br />
Jan  6 12:42:38 paul-laptop pppd[2789]: Connect: ppp0 &lt;&#8211;&gt; /dev/ttyUSB0<br />
Jan  6 12:42:38 paul-laptop pppd[2789]: CHAP authentication succeeded<br />
Jan  6 12:42:38 paul-laptop pppd[2789]: CHAP authentication succeeded<br />
Jan  6 12:42:38 paul-laptop kernel: [  343.964939] PPP BSD Compression module registered<br />
Jan  6 12:42:38 paul-laptop kernel: [  344.026662] PPP Deflate Compression module registered<br />
Jan  6 12:42:39 paul-laptop kernel: [  344.925236] scsi 9:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2<br />
Jan  6 12:42:39 paul-laptop kernel: [  344.925960] sd 9:0:0:0: Attached scsi generic sg2 type 0<br />
Jan  6 12:42:39 paul-laptop kernel: [  344.930619] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2<br />
Jan  6 12:42:39 paul-laptop kernel: [  344.942337] sd 9:0:0:0: [sdb] Attached SCSI removable disk<br />
Jan  6 12:42:39 paul-laptop kernel: [  344.957198] sr1: scsi-1 drive<br />
Jan  6 12:42:39 paul-laptop kernel: [  344.957525] sr 8:0:0:0: Attached scsi generic sg3 type 5<br />
Jan  6 12:42:47 paul-laptop pppd[2789]: Modem hangup<br />
Jan  6 12:42:47 paul-laptop pppd[2789]: Connection terminated.<br />
Jan  6 12:42:48 paul-laptop pppd[2789]: Exit.<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: pppd 2.4.5 started by root, uid 0<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: Using interface ppp0<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: Connect: ppp0 &lt;&#8211;&gt; /dev/ttyUSB0<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: CHAP authentication succeeded<br />
Jan  6 12:42:57 paul-laptop pppd[2846]: CHAP authentication succeeded<br />
Jan  6 12:43:06 paul-laptop pppd[2846]: Modem hangup<br />
Jan  6 12:43:06 paul-laptop pppd[2846]: Connection terminated.<br />
Jan  6 12:43:07 paul-laptop pppd[2846]: Exit.</p></blockquote>
<p>When I tried out usb_modeswitch, I didn&#8217;t really know what I was doing. I guessed that the parameters (-v and -p) would be those identified in lsusb.  But as for how to know what mode it was in or how to switch it, I don&#8217;t know.</p>
<blockquote><p>paul@paul-laptop:~$ usb_modeswitch -v 12d1 -p 1003 -H -i 1</p>
<p>* usb_modeswitch: tool for controlling &#8220;flip flop&#8221; mode USB devices<br />
* Version 1.0.2 (C) Josua Dietze 2009<br />
* Works with libusb 0.1.12 and probably other versions</p>
<p>Looking for default devices &#8230;<br />
Found default devices (1)<br />
Accessing device 000 on bus 002 &#8230;<br />
Using endpoints 0&#215;01 (out) and 0&#215;82 (in)<br />
Not a storage device, skipping SCSI inquiry</p>
<p>Device description data (identification)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Error: could not get description string &#8220;manufacturer&#8221;<br />
Manufacturer:<br />
Error: could not get description string &#8220;product&#8221;<br />
Product:<br />
Serial No.: not provided<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sending Huawei control message &#8230;<br />
Error: sending Huawei control message failed (error -1). Aborting.</p>
<p>paul@paul-laptop:~$</p></blockquote>
<p><strong>UPDATE:</strong></p>
<p>I&#8217;ve been wondering how I get another &#8216;plan&#8217; into the Network Connection wizard. If my assumption about the APN is correct (that &#8216;VirginInternet&#8217; applies to post paid, and &#8216;VirginBroadband&#8217; applies to pre paid) then I&#8217;d want to add a plan called &#8216;Prepaid&#8217; with the APN &#8216;VirginBroadband&#8217; and if possible without CHAP.</p>
<p>Searching around, I found <a href="https://launchpad.net/ubuntu/karmic/+source/mobile-broadband-provider-info">mobile-broadband-provider-info</a> which, if you browse the source you&#8217;ll find there is a <a href="http://bazaar.launchpad.net/~network-manager/mobile-broadband-provider-info/trunk/annotate/head%3A/serviceproviders.xml">serviceproviders.xml</a> file which contains all of the definitions.</p>
<p>Using</p>
<blockquote><p>find / -name serviceproviders.xml</p></blockquote>
<p>I see the file exists at</p>
<blockquote><p>/usr/share/mobile-broadband-provider-info/serviceproviders.xml</p></blockquote>
<p>Editing this file, I can add the following under the Virgin provider, in the Australia region (just search for Virgin):</p>
<blockquote><p>&lt;apn value=&#8221;VirginBroadband&#8221;&gt;<br />
&lt;!&#8211; username and password can be anything, but password cannot be empty &#8211;&gt;<br />
&lt;username&gt;guest&lt;/username&gt;<br />
&lt;password&gt;guest&lt;/password&gt;<br />
&lt;name&gt;Prepaid&lt;/name&gt;<br />
&lt;/apn&gt;</p></blockquote>
<p>Now, I can open Network Connections and add a connection, selecting my new pre paid plan, and all I have to do is remember to disable CHAP as an option.</p>
<p>I love how open this all is and how easily I could find all this out. It took only a couple of minutes, while on the train traveling home from work. Awesome.</p>
<p>Looking at the <a href="http://bazaar.launchpad.net/~network-manager/mobile-broadband-provider-info/trunk/annotate/head%3A/README">README</a> file in the source lead me to the information about <a href="http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders">ServiceProviders</a> which includes how to contribute.</p>
<p>Now I just need to email this info to the code maintainers so that others have an easier time connecting to Virgin. And, I still have to investigate if there is any way to disable CHAP via the config.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2010/01/ubuntu-virgin-mobile-internet-pre-paid-and-the-huawei-e160e/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A bit of xmas admin support</title>
		<link>http://www.javathinking.com/2009/12/a-bit-of-xmas-admin-support/</link>
		<comments>http://www.javathinking.com/2009/12/a-bit-of-xmas-admin-support/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 13:03:43 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=417</guid>
		<description><![CDATA[A simple request to install Photoshop Elements on Vista leads to much frustration and time wasting. How can the non-technical users deal with this complexity?]]></description>
			<content:encoded><![CDATA[<p></p><p>It started off simple enough: &#8220;Can you install Photoshop Elements please?&#8221; &#8211; A friend got <a href="http://www.adobe.com/products/photoshopelwin/">Photoshop Elements</a> for xmas, since it was plugged as an easy, effective way to manage and share photos. (Toshiba laptop, running Vista)</p>
<p>Installing it was easy enough, but when coming to share photos via email it got a bit scary because, he uses <a href="http://www.yahoo.com/">Yahoo</a> mail, not a fat email client. When I started looking at it I though okay, I just need to set up <a href="http://office.microsoft.com/en-us/outlook/default.aspx">Outlook</a> with the mail server settings. Going into the help menu in Yahoo mail gave some pretty clear instructions on how to set Outlook up &#8211; but it didn&#8217;t work. It kept asking for the username and password, which never worked. Searching around the web showed people talking about POP access to Yahoo mail, some suggesting it was a paid feature. But the Yahoo documentation didn&#8217;t make any mention of needing a paid account.</p>
<p>After wasting too much time on this, I just set up <a href="http://gmail.com/">gmail</a> &#8211; I knew I could easily access POP and SMTP here. So after creating a gmail account I set the reply to email in Outlook to be the Yahoo account and told gmail to forward any mail to Yahoo. Thus the gmail involvement would be pretty much invisible. I&#8217;ve sent a test email to the gmail account and I&#8217;m still waiting for it to arrive at yahoo&#8230;</p>
<p>So now I can share photos via email okay. Great. Not particularly easy for the novice user, and how come I can&#8217;t just tell PSE to use a web mail provider? AND, it looks like PSE maintains its OWN list of contacts. Not related to the Yahoo or Outlook contact lists. Jeeezz.</p>
<p>Next, to upgrade AVG virus checker. I was stunned to find AVG Free wouldn&#8217;t let me switch the Firefox search box provider to Google. Apparently it switches your default to yahoo, and denies you when you try to change it. I think its all configurable, but thats a crazy thing to deny you by default. Crazy.</p>
<p>So, I download the 1MB installer. Which then proceeds to download who knows how many MBs &#8211; but it takes a LONG time over a mobile internet connection (Three). Then the install starts, and promptly stops telling me to uninstall <a href="http://onecare.live.com/standard/en-us/default.htm">Microsoft Live OneCare</a> &#8211; which I do, which means a reboot, and then when I restart the installer, it downloads everything again. This time, I did not install the link checker hoping to avoid the &#8220;cripple my computer&#8221; feature.</p>
<p>The last thing to do &#8211; disable the touch pad when the usb mouse is plugged in &#8211; was easy (via the control panel mouse settings).</p>
<p>3 Hours later I&#8217;m done. But we&#8217;ve got a long way to go baby! This was way too hard. I hope I&#8217;m totally wrong &#8211; Perhaps there are easier ways, but they weren&#8217;t obvious and I don&#8217;t have another 8 hours to figure it out. If I was a billionaire, I know what I&#8217;d be doing &#8211; sorting this sh*t out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/12/a-bit-of-xmas-admin-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The week in review &#8211; 2009-32</title>
		<link>http://www.javathinking.com/2009/08/the-week-in-review-2009-32-2/</link>
		<comments>http://www.javathinking.com/2009/08/the-week-in-review-2009-32-2/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 12:29:31 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[roo]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=366</guid>
		<description><![CDATA[SpringSource Roo
I just found out this week about SpringSource Roo &#8211; a rapid development tools that promises:
Working applications within 10 minutes of finishing the download
I haven&#8217;t used it yet, but at first glance it looks like a Grails/Rails type tool but being plain Java based as opposed to Groovy or Ruby based. This is a [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>SpringSource Roo</strong><br />
I just found out this week about <a href="http://www.springsource.org/roo">SpringSource Roo</a> &#8211; a rapid development tools that promises:</p>
<blockquote><p>Working applications within 10 minutes of finishing the download</p></blockquote>
<p>I haven&#8217;t used it yet, but at first glance it looks like a Grails/Rails type tool but being plain Java based as opposed to <a href="http://groovy.codehaus.org/">Groovy</a> or Ruby based. This is a great move, since enterprises just don&#8217;t seem to be able to get comfortable with dynamic languages &#8211; I mean, why continue worry about every little nut and bolt when <a href="http://grails.org/">Grails</a> takes care of all that detail &#8211; Roo may just be the ticket for those too afraid to make the jump to Grails.</p>
<p><strong>SpringSource STS</strong><br />
I&#8217;ve been using <a href="http://www.netbeans.org/">Netbeans</a> 6.7 for Grails development these days (with what little time I have), but I&#8217;m thinking about trying out the latest<a href="http://www.springsource.com/products/sts"> SpringSource Tool Suite</a> (STS) &#8211; I&#8217;m a big fan of everything <a href="http://www.springsource.com">SpringSource</a> does, and I&#8217;m keen to see what their Groovy support in <a href="http://eclipse.org/">Eclipse</a> is like.</p>
<p><strong>Replacing a DVD drive in Mythbuntu</strong><br />
When I originally set up <a href="http://mythbuntu.org/">Mythbuntu</a> media center, I had a CD-RW drive and DVD-RW drive (both IDE). The DVD drive recently stopped working (could never eject) so I bought a new SATA DVD+RW drive. When I went to install it I found I&#8217;d run out of SATA power connectors (I&#8217;ve got 4 disk drives and apparently only 4 power connectors). No problem, I just had to buy a <a href="http://www.pccasegear.com/index.php?main_page=product_info&#038;products_id=12175">Molex-to-SATA power adapter</a> cable &#8211; this plugs in to the power sockets I was using for the IDE drives on one end, and presents a SATA power connector on the other (costs approx AUD$5.50).</p>
<p>However, after I powered it up, it was registered as /dev/dvd3. This didn&#8217;t work with <a href="http://www.mythtv.org/">MythTV</a> because it expects to use /dev/dvd for playing disks. Since I&#8217;ve removed both the CD and DVD drive I *want* it to be /dvd/dvd &#8211; I mucked around with symbolic links for a while, but had no success. I don&#8217;t know anything about Linux devices, but I managed to stumble my way through, and found the answer in /etc/udev/rules.d/70-persistent-cd.rules. This file seems to map each device to a symlink, so all I did was comment out all of the listed devices and rebooted &#8211; after the restart, the dvd was correctly registered at /dev/dvd. Apparently it IS easy when you know how.</p>
<p>Unfortunately when I went to test DVD playback, I must have managed to pick up the ONE disk in my collection that was just never going to work. I spent the rest of the night trying to find out why I couldn&#8217;t play it, suspecting it was a CCS/encryption problem only to try another disk several days later without any problems &#8211; I *should* know better by now.</p>
<p><strong>Restoring Vista</strong><br />
I recently had to reinstall a friends Vista powered laptop. It was a 1 month old Toshiba, and it just wouldn&#8217;t start. I guessed a reinstall was in order, so I booted an <a href="http://www.ubuntu.com/">Ubuntu</a> Live CD so I could back up any personal data. These days you don&#8217;t get the physical install disks any more &#8211; there is a hidden partition on the hard disk which can be used to restore the disk image. It seems you can access this restore program by holding down 0 (zero) while powering on. Restoring the disk image worked, although it took an incredible amount of time to complete. After it finished, I noticed that c: had 43GB used. I don&#8217;t know what Toshiba had there besides Vista, but 43GB for the base install is incredible. Last time I installed Ubuntu 9.04, it used less than 2GB! Laptop disks are still around the 250GB mark so after a 43GB operating system you&#8217;ve lost 20% of it. I assume the hidden restore partition is also eating into this disk space?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/08/the-week-in-review-2009-32-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error executing script War: No such property: stagingDir for class: _Events</title>
		<link>http://www.javathinking.com/2009/04/error-executing-script-war-no-such-property-stagingdir-for-class-_events/</link>
		<comments>http://www.javathinking.com/2009/04/error-executing-script-war-no-such-property-stagingdir-for-class-_events/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 12:06:57 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=305</guid>
		<description><![CDATA[While trying out my new Morph Grails hosting account, I installed the morph-deploy plugin and then promptly discovered that &#8216;grails war&#8217; failed with 
Error executing script War: No such property: stagingDir for class: _Events
It turns out this is a known problem with Grails 1.1 and the solution is to delete the _Events.groovy file in
[your home [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>While trying out my new <a href="https://panel.mor.ph/signup?referral_code=82098af2c2cec6b5caa67f27eb5263b8b0bc1887">Morph</a> Grails hosting account, I installed the morph-deploy plugin and then promptly discovered that &#8216;grails war&#8217; failed with </p>
<blockquote><p>Error executing script War: No such property: stagingDir for class: _Events</p></blockquote>
<p>It turns out this is a <a href="http://www.nabble.com/morph-deploy-blows-up-with-gant.TargetMissingPropertyException%3A-No--such-property%3A-stagingDir-for-class%3A-_Events-to22472738.html#a22472738">known problem with Grails 1.1</a> and the solution is to delete the _Events.groovy file in</p>
<blockquote><p>[your home dir]/.grails/1.1/projects/[your application]/plugins/morph-deploy-0.1/scripts</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/04/error-executing-script-war-no-such-property-stagingdir-for-class-_events/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The price of buying books online</title>
		<link>http://www.javathinking.com/2009/02/the-price-of-buying-books-online/</link>
		<comments>http://www.javathinking.com/2009/02/the-price-of-buying-books-online/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 03:18:47 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=222</guid>
		<description><![CDATA[I wish all books were available as PDFs. I don&#8217;t like the physical space real books take up, and I don&#8217;t appreciate paying for delivery, or waiting for delivery. Some books are available for Kindle, but I just want a PDF.
Recently I wanted to buy 4 books &#8211; my first instinct was to go to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I wish all books were available as PDFs. I don&#8217;t like the physical space real books take up, and I don&#8217;t appreciate paying for delivery, or waiting for delivery. Some books are available for Kindle, but I just want a PDF.</p>
<p>Recently I wanted to buy 4 books &#8211; my first instinct was to go to Amazon:</p>
<p>Item(s) Subtotal:  	AUD 97.92<br />
Shipping &#038; Handling: 	AUD 39.50<br />
Total 	AUD 137.42</p>
<p>I&#8217;d prefer not to pay $40 for delivery, so I  thought I&#8217;d check more local places to compare:</p>
<table>
<tr>
<th></th>
<th><a href="http://dymocks.com.au/">Dymocks.com.au</a></th>
<th><a href="http://Fishpond.co.nz">Fishpond.co.nz</a></th>
<th><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fhomepage.html%3Fie%3DUTF8%26ref%255F%3Dgno%255Flogo%255Fb&#038;tag=softwarepr-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957">Amazon.com</a><img src="https://www.assoc-amazon.com/e/ir?t=softwarepr-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></th>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/0321591933?ie=UTF8&#038;tag=softwarepr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321591933">Building a WordPress Blog People Want to Read</a><img src="http://www.assoc-amazon.com/e/ir?t=softwarepr-20&#038;l=as2&#038;o=1&#038;a=0321591933" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</td>
<td>AUD32.95</td>
<td>NZD48.99</td>
<td>USD19.79</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/0470246677?ie=UTF8&#038;tag=softwarepr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0470246677">ProBlogger: Secrets for Blogging Your Way to a Six-Figure Income</a><img src="http://www.assoc-amazon.com/e/ir?t=softwarepr-20&#038;l=as2&#038;o=1&#038;a=0470246677" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</td>
<td>AUD42.95</td>
<td>NZD46.69</td>
<td>USD16.49</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/0316017922?ie=UTF8&#038;tag=softwarepr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0316017922">Outliers: The Story of Success</a><img src="http://www.assoc-amazon.com/e/ir?t=softwarepr-20&#038;l=as2&#038;o=1&#038;a=0316017922" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</td>
<td>AUD61.51</td>
<td>NZD52.98</td>
<td>USD15.39</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/1439105006?ie=UTF8&#038;tag=softwarepr-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1439105006">The Huffington Post Complete Guide to Blogging</a><img src="http://www.assoc-amazon.com/e/ir?t=softwarepr-20&#038;l=as2&#038;o=1&#038;a=1439105006" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</td>
<td>N/A</td>
<td>NZD33.96</td>
<td>USD10.20</td>
</tr>
<tr valign="top">
<th>Total</th>
<th>AUD137.41</th>
<th>NZD182.62 <br/>(AUD150.85)</th>
<th>AUD137.42</th>
</tr>
</table>
<p>So from Dymocks, 3 out of the 4 books cost AUD137.41. I don&#8217;t know about delivery, I had so much trouble with the site &#8211; no response, server errors, and when trying to check out it tells me my basket is empty.</p>
<p>From Fishpond, all books were available, total cost of NZD182.62 with free delivery.</p>
<p>So Amazon wins easily. But delivery might take a month. Sigh. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/02/the-price-of-buying-books-online/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Conspiracy or oversight?</title>
		<link>http://www.javathinking.com/2009/01/214/</link>
		<comments>http://www.javathinking.com/2009/01/214/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 00:26:10 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=214</guid>
		<description><![CDATA[A recent Computerworld article referenced Linux, Mac OS X and Windows Vista. They linked Mac OS X and Windows Vista to their search but they didn&#8217;t link Linux. Conspiracy? Oversight?
]]></description>
			<content:encoded><![CDATA[<p></p><p>A recent Computerworld <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;taxonomyName=storage&#038;articleId=9126280&#038;taxonomyId=19&#038;intsrc=kc_top">article</a> referenced Linux, Mac OS X and Windows Vista. They linked Mac OS X and Windows Vista to their search but they didn&#8217;t link <a href="http://www.computerworld.com/action/inform.do?command=search&#038;searchTerms=Linux">Linux</a>. Conspiracy? Oversight?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/01/214/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SoundJuicer and MP3</title>
		<link>http://www.javathinking.com/2008/12/soundjuicer-and-mp3-2/</link>
		<comments>http://www.javathinking.com/2008/12/soundjuicer-and-mp3-2/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 11:58:39 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[soundjuicer]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=207</guid>
		<description><![CDATA[I wanted to convert some CDs to MP3 &#8211; normally I&#8217;d use OGG, but you can&#8217;t always rely on devices being able to play that format (i.e. DVD players). I was relieved to see it is easy in Ubuntu 8.10:

enable multiverse and universe repos
sudo apt-get install gstreamer0.10-plugins-ugly-multiverse  sound-juicer
start sound-juicer and go to Edit/Preferences and switch [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I wanted to convert some CDs to MP3 &#8211; normally I&#8217;d use OGG, but you can&#8217;t always rely on devices being able to play that format (i.e. DVD players). I was relieved to see it is easy in Ubuntu 8.10:</p>
<ol>
<li>enable <a href="https://help.ubuntu.com/community/AddingRepositoriesHowto">multiverse and universe</a> repos</li>
<li>sudo apt-get install gstreamer0.10-plugins-ugly-multiverse  sound-juicer</li>
<li>start sound-juicer and go to Edit/Preferences and switch the format to MP3</li>
</ol>
<p>It was that easy. I seem to remember having to do a lot more with previous versions of Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2008/12/soundjuicer-and-mp3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comment spam</title>
		<link>http://www.javathinking.com/2008/12/comment-spam/</link>
		<comments>http://www.javathinking.com/2008/12/comment-spam/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 21:40:51 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=204</guid>
		<description><![CDATA[I&#8217;ve been wondering for a while why people spam blogs with comments like:
Your site is so cool, thanks it really helped me!
Or any of the many variations. Its usually obvious for several reasons (spelling and just completely out of context) that this is spam.
But why bother?
It turns out that some blogging software is set up [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve been wondering for a while why people <a href="http://en.wikipedia.org/wiki/Spam_in_blogs">spam blogs</a> with comments like:</p>
<blockquote><p>Your site is so cool, thanks it really helped me!</p></blockquote>
<p>Or any of the many variations. Its usually obvious for several reasons (spelling and just completely out of context) that this is spam.</p>
<p>But why bother?</p>
<p>It turns out that some blogging software is set up so that if a user has commented, and the administrator has approved that comment, then subsequent comments from that user will be published automatically (without requiring admin approval). That means, once approved, that user is trusted and can comment freely.</p>
<p>So, if you accidentally approve this spam bait (innocently believing it to be a genuine complement) expect much more less innocent comments to appear.</p>
<p>In Wordpress, this setting can be found in &#8216;Discussion settings&#8217; under &#8216;Comment author must have a previously approved comment&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2008/12/comment-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

