<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>John's Technology Blog</title>
<link>http://www.asp.johnavis.com/</link>
<description>My blog including my Classic ASP tips and tricks, sample scripts, and applications, plus JavaScript; and my experiences with buying and selling on eBay and using PayPal.</description>
<item>
<title>jobs.nsw - web user interface design at its worst</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=599</link>
<description>I was recently looking at the &lt;a href=&quot;https://jobsnsw.taleo.net/careersection/all_jobs/jobsearch.ftl&quot; target=&quot;_blank&quot;&gt;jobs.nsw job search page&lt;/a&gt; and was astounded at how such a high profile site could be so poorly designed.&lt;br&gt;&lt;br&gt;The design is fine, my issue is with how it operates.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;jobs.nsw job search&quot; src=&quot;/blog/uploads/img599_jobsnsw.jpg&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;It's a dynamic site with AJAX and some animation of content areas appearing and disappearing. On some sites animation might be welcome, but this page's purpose is job hunting, and users like me don't want to wait while the search form disappears to make room for the search results which are displayed by AJAX on the same page.&lt;br&gt;&lt;br&gt;Next problem, and this one is a big one. I get a bunch of search results and several of them are of interest to me. So I middle-click expecting the job details page to open in a new tab but it opens in the same tab. So I try right-clicking and select open in new tab. The new tab opens but I get a new search form, not the job detail page that I was hoping for and expecting.&lt;br&gt;&lt;br&gt;So users are forced to view job detail pages in the same window, which means that we need to click back (browser button or hyperlink provided). This does take us back to the search results page and to give the developers some credit at least they coded in such a way that the search results and search form are populated with all the right details that were previously populated by AJAX - many developers don't handle this at all.&lt;br&gt;&lt;br&gt;Personally, I generally avoid AJAX for search results as it is better for search engines to pick up content and allows users to bookmark search results pages.&lt;br&gt;&lt;br&gt;Want more jobs.nsw usability problems? If I click on &quot;job search&quot; on the navigation bar it takes me to a page where I then have to click the big &quot;job search&quot; image which then opens the job search page in a new window.&lt;br&gt;&lt;br&gt;I love sites that use lots of AJAX to avoid post backs, but they have to be (A) well designed, (B) quick (the AJAX on jobs.nsw is not fast), and (C) relevant to the content, not just AJAX for the sake of it.&lt;br&gt;&lt;br&gt;Want an example of a good site with a lot of ajax, see &lt;a href=&quot;http://stackoverflow.com&quot; target=&quot;_blank&quot;&gt;stackoverflow&lt;/a&gt;. Leaving comments and answers on this site is such a smooth experience.</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=599&amp;comments=on#comments</comments>
<pubDate>2011-12-01T12:00:00+10:00</pubDate>
</item>
<item>
<title>eBay Tip: How to find what best offers have been accepted</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=596</link>
<description>Have you ever been interested in buying an item on eBay that is available as &quot;Best Offer&quot;, where there is multiple quantities on offer and some already sold, and you want to see what the other people have paid?&lt;br&gt;&lt;br&gt;eBay want to hide this information, of course, but it is revealed in certain places.&lt;br&gt;&lt;br&gt;The first place to look is in that seller's completed items. On the item page, click &quot;See other items&quot; which will bring up a list of any other items that the seller has listed. On the left hand side, under &quot;Show Only&quot;, click &quot;Completed listings&quot;. You may need to log in at this point. This will bring up a list of items from this seller has finished. Once an item has finished all of the best offer prices will be visible in the history (click the &quot;x sold&quot; link next to history in the &quot;Other item info&quot; section of the completed item description page) so you will be able to get an idea of the seller's limits.&lt;br&gt;&lt;br&gt;However there is an even better way to see what offers have been accepted for an item that hasn't finished yet. Simply look at the seller's feedback. Assuming the seller hasn't set this information to private, the best offer price is shown immediately when a buyer leaves feedback.&lt;br&gt;&lt;br&gt;That is a great advantage to buyers but not to sellers, and a significant flaw in the eBay system in my opinion.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;Best offer prices revealed in feedback&quot; border=&quot;1&quot; src=&quot;/blog/uploads/img596_eBay-best-offer.jpg&quot;&gt;&lt;/center&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=596&amp;comments=on#comments</comments>
<pubDate>2011-09-10T12:00:00+10:00</pubDate>
</item>
<item>
<title>eBay Changes Starting 22 September 2011</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=595</link>
<description>Most eBay customers should already be aware of the fee changes coming 22 September 2011.&lt;br&gt;&lt;br&gt;I have mixed feelings about the change to allow you to list items with zero insertion fees. As a seller I think it's great because you can try and sell all that stuff that is probably unlikely to sell and not pay unless it sells. However, as a buyer I am not looking forward to it as this change will most likely result in having to wade through a whole lot more crap to find the good stuff. For example, most of the searches I do on the free-to-list &lt;a href=&quot;http://quicksales.com.au/&quot; target=&quot;_blank&quot;&gt;quicksales.com.au&lt;/a&gt; results in 99% crap, 1% good stuff.&lt;br&gt;&lt;br&gt;The thing that annoys me about the upcoming eBay changes is the deceitfulness we have become accustomed to with eBay.&lt;br&gt;&lt;br&gt;As you are probably aware final value fees are increasing from 5.25% to 7.9%, which according to eBay is: &quot;To enable eBay to offer this up front saving and simplified fee format, eBay is re-balancing and simplifying fees by slightly increasing final value fees...&quot; (&lt;i&gt;&lt;a href=&quot;http://pages2.ebay.com.au/News/InsideSelling/September_2011_fee_changes_-_C2C_sellers/&quot; target=&quot;_blank&quot;&gt;source&lt;/a&gt;&lt;/i&gt;)&lt;br&gt;&lt;br&gt;However, if you list ore than 30 items per month you have to pay the same listing fee as before &lt;b&gt;AND&lt;/b&gt; you still have to pay the new nearly 8% listing fee.&lt;br&gt;&lt;br&gt;On top of the new 7.9% final value fee you will more often than not also have to pay the PayPal (an eBay company) commission on both the item final value and shipping costs, making the percentage payable to eBay quite considerable.&lt;br&gt;&lt;br&gt;On a positive note it's about time we got free gallery image (shame it doesn't apply to all listings). This is a good benefit to sellers and whatever benefits sellers benefits eBay too!</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=595&amp;comments=on#comments</comments>
<pubDate>2011-08-19T12:00:00+10:00</pubDate>
</item>
<item>
<title>You've heard of Shazam, but there are alternatives</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=594</link>
<description>Many people are aware of &lt;a href=&quot;http://www.shazam.com/&quot; target=&quot;_blank&quot;&gt;Shazam&lt;/a&gt;, the service used on mobile phones where you can play a song near the microphone of your phone and it will (usually) identify the song after a few seconds and tell you the name, artist, album, etc.&lt;br&gt;&lt;br&gt;There is a free alternative service that you can download and use on your desktop. It's called &lt;a href=&quot;http://www.wildbits.com/tunatic/&quot; target=&quot;_blank&quot;&gt;Tunatic&lt;/a&gt; and it is available for PC and Mac.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;Tunatic&quot; src=&quot;/blog/uploads/img594_tunatic.png&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;But possible the most interesting website I found that offers a similar service is &lt;a href=&quot;http://www.midomi.com/&quot; target=&quot;_blank&quot;&gt;Midomi&lt;/a&gt;. Midomi is also free and in instead of identifying pre-recorded music you can sing it yourself or hum it.&lt;br&gt;&lt;br&gt;That's a pretty amazing useful service in my opinion. Can't get a song out of your head that you don't know who the artist is? Give it a go.&lt;br&gt;&lt;br&gt;Midomi is also available for mobile devices.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;Midomi&quot; src=&quot;/blog/uploads/img594_midomi100608.jpg&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=594&amp;comments=on#comments</comments>
<pubDate>2011-08-19T12:00:00+10:00</pubDate>
</item>
<item>
<title>The Commodore 64 Lives On</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=593</link>
<description>I came across an interesting website which details a new version of the Commodore 64 that you can purchase new now.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;New Commodore 64&quot; src=&quot;/blog/uploads/img593_commodore-64x-1.jpg&quot;&gt; &lt;img alt=&quot;New Commodore 64&quot; src=&quot;/blog/uploads/img593_commodore-64x-2.jpg&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;It no longer has 64kb of memory, a cassette player, and an 80x25 character display. Instead the new Commodore 64 features Intel processors, DVD or Blueray drives, and runs Linux or Windows.&lt;br&gt;&lt;br&gt;There is also an operating system - Commodore OS - which is a community-driven Linux distribution.&lt;br&gt;&lt;br&gt;In addition to the 64, Commodore have another model called the VIC-Slim which is a modern looking all-in-one computer housed in a keyboard style casing. They also have a line of &quot;Amiga&quot; models, modern looking computers styled in the spirit of the original Amiga models.&lt;br&gt;&lt;br&gt;The company building these computers is Florida, USA-based Commodore USA, LLC. Their website is &lt;a href=&quot;http://http://www.commodoreusa.net/&quot; target=&quot;_blank&quot;&gt;www.commodoreusa.net&lt;/a&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=593&amp;comments=on#comments</comments>
<pubDate>2011-08-17T12:00:00+10:00</pubDate>
</item>
<item>
<title>Jquery/Javascript plugin to truncate text to fit container height and width</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=589</link>
<description>I recently needed a Javascript function to truncate text to fit a container such as a DIV, not just in width but in height. I found plenty of functions that truncate to width but couldn't find anything by height so I created this Jquery plugin that does the job. Please note that it does not handle HTML so if HTML content is truncated it may truncate mid-tag and break the display.&lt;br&gt;&lt;br&gt;To use the function use one the the following syntax:&lt;br&gt;&lt;pre&gt;$(&quot;#id&quot;).truncate();&lt;/pre&gt;&lt;i&gt;Truncates to size of container and adds &quot;...&quot; if the text requires truncation.&lt;/i&gt;&lt;br&gt;&lt;pre&gt;$(&quot;#id&quot;).truncate(&quot;&amp;lt;a href='#'&amp;gt;read more&amp;lt;/a&amp;gt;&quot;);&lt;/pre&gt;&lt;i&gt;Truncates to size of container and adds specified text (in this example a read more link) if the text requires truncation.&lt;/i&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Your container should have a fixed height and &lt;i&gt;overflow&lt;/i&gt; set to &lt;i&gt;hidden&lt;/i&gt;. You will obviously also need to include the Jquery library.&lt;br&gt;&lt;br&gt;&lt;pre&gt;(function ($) {&lt;br&gt;       $.fn.truncate = function (options) {&lt;br&gt;              var defaults = {&lt;br&gt;                     more: '...'&lt;br&gt;              };&lt;br&gt;              var options = $.extend(defaults, options);&lt;br&gt;              return this.each(function (num) {&lt;br&gt;                     var height = parseInt($(this).css(&quot;height&quot;));&lt;br&gt;                     var content = $(this).html();&lt;br&gt;                     while (this.scrollHeight &gt; height) {&lt;br&gt;                           content = content.replace(/\s+\S*$/, &quot;&quot;);&lt;br&gt;                           $(this).html(content + &quot;&amp;nbsp;&quot; + options.more);&lt;br&gt;                     }&lt;br&gt;              })&lt;br&gt;       }&lt;br&gt;})(jQuery);&lt;/pre&gt;&lt;br&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=589&amp;comments=on#comments</comments>
<pubDate>2011-07-06T12:00:00+10:00</pubDate>
</item>
<item>
<title>Multiple Projects in Visual Web Developer 2010 (VWD)</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=588</link>
<description>I use Visual Studio 2010 at work and Visual Web Developer 2010 at home. One feature of VS2010 that is missing from VWD2010 is the ability to create a solution with multiple projects.&lt;br&gt;&lt;br&gt;However, if a solution with multiple projects create in VS2010 is opened in VWD2010 it seems to work fine and you can even add and remove projects as you like.&lt;br&gt;&lt;br&gt;&lt;img align=&quot;right&quot; alt=&quot;Solution1.sln&quot; src=&quot;/blog/uploads/img588_solution1.jpg&quot;&gt;So I have created a solution folder which I (and you if you download the attached file) can use to develop this type of solution in VWD2010.&lt;br&gt;&lt;br&gt;Using the attached file:&lt;br&gt;&lt;br&gt;* The file has a two projects, a website (Website1) and a class library (ClassLibrary1). They are in folders with the same names. If you want to rename the projects and folders you will need to change the proprties of each project, rename the folder and manually edit the solution file (.sln).&lt;br&gt;&lt;br&gt;* It is simpler to just add new projects and delete the ones that I have included.&lt;br&gt;&lt;br&gt;* &lt;b&gt;Warning: If you delete a project leaving only one project then you will not be able to add any more projects in VWD2010.&lt;/b&gt;&lt;br&gt;&lt;br&gt;Download: &lt;a href=&quot;/blog/uploads/att588_vwd2010-solution.zip&quot;&gt;vwd2010-solution.zip&lt;/a&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=588&amp;comments=on#comments</comments>
<pubDate>2011-06-25T12:00:00+10:00</pubDate>
</item>
<item>
<title>Installing ASP.NET Web Pages Helpers in Visual Web Developer 2010</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=586</link>
<description>The documentation for ASP.NET Web Pages (Razor) is good if you are using WebMatrix, but there are some shortcomings if you are using Visual Web Developer or Visual Studio.&lt;br&gt;&lt;br&gt;One example is the Helpers that are mentioned in the documentation: for Google Analytics, Twitter, Facebook, etc.&lt;br&gt;&lt;br&gt;It is not explained how to add this functionality in VWD or VS 2010.&lt;br&gt;&lt;br&gt;Here's how to do it... In &lt;i&gt;Solution Explorer&lt;/i&gt; right-click on your project and click &lt;i&gt;Add Library Package Reference&lt;/i&gt;. This brings up a dialog where you can search online for packages. The one you are looking for is &lt;i&gt;microsoft-web-helpers&lt;/i&gt;. Search for it and click &lt;i&gt;install&lt;/i&gt;.&lt;br&gt;&lt;br&gt;In this dialog you may find some other interesting packages that you can install. You can also view these packages on &lt;a href=http://www.nuget.org/&gt;www.nuget.org&lt;/a&gt;. There is a JQuery package which adds Intellisense for JQuery, amongst other functionality. There is a PayPal Helper. Or you may find the JQuery client-side form validation helpful.</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=586&amp;comments=on#comments</comments>
<pubDate>2011-05-21T12:00:00+10:00</pubDate>
</item>
<item>
<title>Connecting to MySQL Database with ASP.NET Web Pages (Razor)</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=585</link>
<description>To connect to a MySQL database from ASP.NET Web Pages (Razor) you need to do the following:&lt;br&gt;&lt;br&gt;1. Add a &quot;Bin&quot; ASP.NET folder to your project and copy the file &lt;i&gt;MySQl.Data.dll&lt;/i&gt; in to it.&lt;br&gt;&lt;br&gt;You can obtain this file by downloading the latest version of the MySQL Connector/NET (&lt;a href=http://dev.mysql.com/downloads/connector/net/&gt;http://dev.mysql.com/downloads/connector/net/&lt;/a&gt;), installing it, then locate the file in the installation folder.&lt;br&gt;&lt;br&gt;2. In your &lt;i&gt;web.config&lt;/i&gt; file add a connection string for your database, for example:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&amp;lt;configuration&amp;gt;&lt;br&gt;&amp;lt;connectionStrings&amp;gt;&lt;br&gt;&amp;lt;add name=&quot;Any-name&quot; connectionString=&quot;Server=server-name-or-ip;Port=3306;Database=database-name;Uid=username;Pwd=password;&quot; providerName=&quot;MySql.Data.MySqlClient&quot; /&amp;gt;&lt;br&gt;&amp;lt;/connectionStrings&amp;gt;&lt;br&gt;&amp;lt;/configuration&amp;gt;&lt;/pre&gt;&lt;br&gt;3. In your code you can then open a connection to your database:&lt;br&gt;&lt;br&gt;&lt;pre&gt;var db = Database.Open(&quot;Any-name&quot;);&lt;/pre&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=585&amp;comments=on#comments</comments>
<pubDate>2011-05-20T12:00:00+10:00</pubDate>
</item>
<item>
<title>Finally... A Replacement for Classic ASP</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=584</link>
<description>Recently I noticed that on the &lt;a href=http://www.asp.net/&gt;ASP.NET website&lt;/a&gt; there was a new menu option. In addition to &quot;Web Forms&quot; and &quot;MVC&quot;, there is now &quot;Web Pages&quot;. This leads to information on &lt;i&gt;ASP.NET Web Pages and the new Razor syntax&lt;/i&gt;.&lt;br&gt;&lt;br&gt;After a brief look through the documentation it appears to me that this is he closest we have to a replacement for Classic ASP!&lt;br&gt;&lt;br&gt;Although it goes against some of the coding best practices established by ASP.NET, such as separating content from code, to me it seems like an excellent way to get back to coding like I used to with Classic ASP -- simple, efficient code with the programmer in control instead of Web Forms.&lt;br&gt;&lt;br&gt;I have read some opinions on &quot;Web Pages&quot; and I disagree with those who claim that this new development option will only appeal to those looking for a simple way of producing dynamic websites. It appeals to me as I like to have more control over the HTML sent to the client browser and minimise the amount of server traffic (no viewstate data), and am sick of creating repeaters with OnItemDataBound events to do things that were so much simpler in Classic ASP. Surely the simple option is &quot;Web Forms&quot; with drag and drop controls and code-less development.&lt;br&gt;&lt;br&gt;Microsoft has made available a free tool called WebMatrix as a simple tool for creating web sites, but Visual Web Developer or Visual Studio 2010 is the better choice for professionals. You will need to download the MVC 3 Tools from Microsoft.&lt;br&gt;&lt;br&gt;I plan to produce some test code and see how well it works out. I see it combining well with JQuery for doing AJAX.&lt;br&gt;&lt;br&gt;The official website is at &lt;a href=http://www.asp.net/web-pages&gt;http://www.asp.net/web-pages&lt;/a&gt;.&lt;br&gt;&lt;br&gt;There is an excellent 270+ page PDF book available from Microsoft at &lt;a href=http://download.microsoft.com/download/C/E/A/CEA20EA5-5AEA-494D-B9D1-B082366FCA38/ASPNETWebPagesWithRazorSyntax-Book.pdf&gt;ASPNETWebPagesWithRazorSyntax-Book.pdf&lt;/a&gt; (free download).</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=584&amp;comments=on#comments</comments>
<pubDate>2011-05-18T12:00:00+10:00</pubDate>
</item>
<item>
<title>Cheap Media Centre Build</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=583</link>
<description>For some time now I have been trying to set up an inexpensive media center PC to record from Foxtel and manage my multimedia collection.&lt;br&gt;&lt;br&gt;I find it amazing how many hurdles I have encountered on the way.&lt;br&gt;&lt;br&gt;I had already Windows 7 Home Premium so this was the obvious choice of operating system.&lt;br&gt;&lt;br&gt;First up I tried to use a Pentium 4 system that I had spare but it was difficult to find an AGP video card that was compatible with Windows 7 and that could display 1920x1080. I did end up getting a Matrox card to work, but it required some hacking.&lt;br&gt;&lt;br&gt;I planned to connect the Foxtel set top box to the composite video input of a TV tuner card. I was also going to use the Foxtel remote to change channels. I bought a digital TV tuner card with an analog input and plugged it in. I then found out that the analog input of many DTV tuner cards will not work in Windows 7 Media Center. So that card was sold on eBay and the search for a compatible card started. Apparently Hauppauge are one of the few that work.&lt;br&gt;&lt;br&gt;In the meantime I acquired a Pentium Dual Core specifically for the Media Center PC role.&lt;br&gt;&lt;br&gt;Eventually I found a used Hauppauge WinTV PVR 250 which I thought would be compatible. It was delivered but found to be faulty. Surprisingly the seller had another and swapped it for me.&lt;br&gt;&lt;br&gt;With the replacement card in finally I could get composite video input in Media Center. Unfortunately I came across a new problem which was that I needed IR hardware to control the Foxtel set top box. I wasn't going to use this hardware so I found it annoying that Microsoft demanded it.&lt;br&gt;&lt;br&gt;More hacking was required, this time the installation of a virtual IR device, which resolved the problem. (You can download this driver &lt;a href=http://www.myhava.com/forum/download/file.php?id=53&gt;here&lt;/a&gt;.) I did have to choose a set top box from a list and pretend that it was working before I could finish set up of the TV tuner.&lt;br&gt;&lt;br&gt;So things were progressing... straight to the next problem. I have a widescreen TV but the picture was 4:3. There is probably no resolution to that problem as I think it is due to the old analog card. I will look into that later.&lt;br&gt;&lt;br&gt;Now I am ready to move the new PC to the main TV. I plug it in and it is forced back to 1280x1024, with no option to increase the resolution past 1366x768.&lt;br&gt;&lt;br&gt;Will I ever get this going?</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=583&amp;comments=on#comments</comments>
<pubDate>2011-04-22T12:00:00+10:00</pubDate>
</item>
<item>
<title>Bought a Chinese Clone Phone (Review)</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=582</link>
<description>Having been looking for a new phone on eBay I had been exposed to the many cheap clone phones from China, and was curious about what they were like. Unfortunately there isn't much information online about them, although there are plenty of warnings not to buy.&lt;br&gt;&lt;br&gt;Anyway I really liked the thought of getting a Sony Ericsson X10 Mini Pro and thought it might be interesting to try the Chinese clone, of which there are a couple to chose from. I chose one branded &quot;Perfect&quot; which cost round A$75 and purchased it through &lt;a href=http://www.aliexpress.com/&gt;aliexpress.com&lt;/a&gt; which was cheaper than the same seller on eBay and also offered a free escrow service which meant that the supplier wasn't paid until I said that I had received the item.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;Sony Ericsson Xperia X10 Mini Pro Clone&quot; src=&quot;/blog/uploads/img582_435440045.jpg&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;I was very impressed with the aliexpress.com buying process, and my phone was delivered from China to Australia in exactly one week. The aliexpress.com site is very good (it looks like they have cloned amazon.com) but the search facility is bad, making it hard to locate items amongst the thousands and thousands of items for sale. Also many sellers do not classify there items correctly which makes them appear when not relevant to your search.&lt;br&gt;&lt;br&gt;Right, back to the phone. Basically it's pretty crap, just as warned.&lt;br&gt;&lt;br&gt;It is a touchscreen phone with a slide out QWERTY keyboard. It came with an Australian charger, two batteries, earphones and a USB cable (also used for charging). No user manual or software were provided.&lt;br&gt;&lt;br&gt;It does have some interesting features however. Such as the ability to use 3 SIM cards simultaneously, and a built-in analogue TV tuner.&lt;br&gt;&lt;br&gt;It has WiFi which connected first time to my home network and seems to work well.&lt;br&gt;&lt;br&gt;The built in browser is okay but doesn't seem to load some pages (reports server error). The control buttons are small and hard to select and there seems to be some bug that causes the buttons to display wierdly sometimes. Opera Mini is included in the Java applications and works better, if not as quick to load.&lt;br&gt;&lt;br&gt;I was disappointed that it didn't have an integrated email client. I was able to download PicoMail, a Java email client, which is quite good but there are certainly a heap of clicks required to do anything. I was able to set up my Hotmail account manually (automatic detection worked for receiving email but not sending).&lt;br&gt;&lt;br&gt;I also plan to download and install an instant messenger Java application too.&lt;br&gt;&lt;br&gt;Incidently I couldn't install anything until I added a Micro SD card.&lt;br&gt;&lt;br&gt;I haven't tested the phone with a SIM yet as I wanted to check that it wouldn't try and use my mobile plan for data first.&lt;br&gt;&lt;br&gt;The QWERTY keyboard is useful and works well however the switch from portrait to landscape doesn't always happen. I also got trapped in some text prediction model which I couldn't work out how to get out of. Very frustrating to enter web addresses with!&lt;br&gt;&lt;br&gt;The phone also has handwriting recognition which looks impressive but had about 5% success rate in my test.&lt;br&gt;&lt;br&gt;The advertisement claims the phone has Bluetooth but I haven't found any settings yet.&lt;br&gt;&lt;br&gt;The camera is 1.3MP and from the one photo I have taken so far... Crap!&lt;br&gt;&lt;br&gt;Battery life seems good, though I understand it will be reduced drastically if using more than 1 SIM. With little to no use (and no SIM card installed) it is down to 75% after 24 hours.&lt;br&gt;&lt;br&gt;I will keep investigating the phone and post on what I find.&lt;br&gt;&lt;br&gt;Edit: Although the phone didn't come with a user manual I found the following manual which has a similar version of the same MTK operating system:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;/blog/uploads/att582_Cect_P168__2007_06_09_EN__Manual.pdf&quot;&gt;Cect_P168__2007_06.pdf&lt;/a&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=582&amp;comments=on#comments</comments>
<pubDate>2011-04-14T12:00:00+10:00</pubDate>
</item>
<item>
<title>Linq to SQL - Order By Nulls Last</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=581</link>
<description>Using Linq to SQL and need to order by NULLS last?&lt;br&gt;&lt;br&gt;The following example orders by the field &lt;i&gt;DisplayOrder&lt;/i&gt; ascending and keeps rows where &lt;i&gt;DisplayOrder&lt;/i&gt; is NULL last.&lt;br&gt;&lt;br&gt;List&lt;MyTable&gt; result = (from c in dc.GetTable&lt;MyTable&gt;()&lt;br&gt;where (c.DisplayOnHome == 1 &amp;&amp; c.Approved == 1)&lt;br&gt;orderby &lt;b&gt;(c.DisplayOrder == null) ascending, c.DisplayOrder ascending&lt;/b&gt;, c.PublishDate descending&lt;br&gt;c).Take(limit).ToList&lt;MyTable&gt;();</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=581&amp;comments=on#comments</comments>
<pubDate>2011-04-07T12:00:00+10:00</pubDate>
</item>
<item>
<title>Chinese Mobile Phone Information Replicas/Fakes/Clones</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=580</link>
<description>If you have shopped for a mobile phone on eBay Australia recently you have probably seen a large number of phones available from China, brands and models you haven't seen before with a lot of features (including some not usually available on local models) at very cheap prices.&lt;br&gt;&lt;br&gt;These phones often support dual SIM cards (or triple) which means that you can make and take calls from multiple phone numbers and/or networks. A great feature if you want one phone for both work and personal calls. Please note that making use of this feature usually significantly increases power consumption, and for this reason many phones come with two batteries.&lt;br&gt;&lt;br&gt;Although some of these models look unique, many are copies of popular models. iPhone replicas are very common, and there are some interesting copies of many models including the Sony Ericsson Xpedia X10 Mini Pro, Nokia X6, Nokia E71, just to name a few.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;iphonereplica.jpg&quot; src=&quot;/blog/uploads/img580_iphonereplica.jpg&quot;&gt; &lt;img alt=&quot;x10miniclone.jpg&quot; src=&quot;/blog/uploads/img580_x10miniclone.jpg&quot;&gt; &lt;img alt=&quot;nokiax6clone.jpg&quot; src=&quot;/blog/uploads/img580_nokiax6clone.jpg&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;They might look virtually identical to the original but they usually differ in terms of operating system software. Some may have Android or Windows Mobile but most have software based on an open source operating system called Nucleus Plus (&lt;a href=http://www.mentor.com/embedded-software/nucleus/&gt;click here for manufacturer's site&lt;/a&gt;). They usually have processors made by MediaTek (MTK) of Taiwan.&lt;br&gt;&lt;br&gt;There are some interesting phones available (and very inexpensive)... Fancy a wrist watch phone? How about a phone that can be used as a projector?&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;wtahcphone.jpg&quot; src=&quot;/blog/uploads/img580_wtahcphone.jpg&quot;&gt; &lt;img alt=&quot;projectorphone.jpg&quot; src=&quot;/blog/uploads/img580_projectorphone.jpg&quot;&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;Chinese phones are obviously not locked to any local network. But an important point is that some models do not support all common GSM frequencies so may not be compatible with all networks, and most do not support 3G or CDMA.&lt;br&gt;&lt;br&gt;Some general tips about these phones:&lt;br&gt;&lt;ul&gt;&lt;li&gt;Many phones have an analog TV receiver built-in, with a retractable antenna (it's not digital TV so will not work in a few years time in Australia)&lt;/li&gt;&lt;li&gt;Bluetooth and Wi-Fi are common features&lt;/li&gt;&lt;li&gt;The rear camera is almost always 1.3MP and the front (if fitted) is 0.3MP&lt;/li&gt;&lt;li&gt;A GPS receiver is available on some models but often Australian maps are not available&lt;/li&gt;&lt;li&gt;Multi-tasking is not supported by the operating system&lt;/li&gt;&lt;li&gt;Accessories like spare batteries are generally not easy to come buy (keep hold of the seller's details)&lt;/li&gt;&lt;li&gt;Warranty is usually 12 months, but requires that you return the phone to China&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;Where can you learn more about Chinese mobile phones?&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=http://home.comcast.net/~plutarch/Phones.html&gt;Chinese phone information and master list&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://forum.gsmhosting.com/vbb/f457/&gt;Forum for fixing and hacking Chinese phones&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://en.pudn.com/downloads194/sourcecode/embed/detail913023_en.html&gt;Interesting Nucleus Plus RTOS downloads&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;Important note: If you are in Australia and planning on buying one of these phones then be aware that it may be illegal to import some of these phones, or use them on an Australia telephone network. Some of these phones may not have passed the same testing as official locally available models and may be more dangerous to your health. You should check with the relevant government body if you are unsure.</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=580&amp;comments=on#comments</comments>
<pubDate>2011-03-30T12:00:00+10:00</pubDate>
</item>
<item>
<title>Excellent tutorial to make DHTML windows</title>
<link>http://www.asp.johnavis.com/blog/default.asp?id=557</link>
<description>I found this article which looks at building dynamic DHTML windows that can appear like those on the Windows desktop and are draggable, resizable, and can be minimised and restored.&lt;br&gt;&lt;br&gt;See the sample &lt;a href=&quot;http://www.brainjar.com/dhtml/windows/demo.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;The full article is &lt;a href=&quot;http://www.brainjar.com/dhtml/windows/default.asp&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;img alt=&quot;demo.jpg&quot; src=&quot;/blog/uploads/img557_demo.jpg&quot;&gt;&lt;/center&gt;</description>
<comments>http://www.asp.johnavis.com/blog/default.asp?id=557&amp;comments=on#comments</comments>
<pubDate>2011-03-06T12:00:00+10:00</pubDate>
</item>
</channel>
</rss>

