<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>johna's blog</title>
<link>https://johna.compoutpost.com/</link>
<description>...mostly about web development and programming, with a little bit of anything else related to the Internet, computers and technology.</description>
<item>
<title>Visual Studio bug when deleting a line with word wrap enabled</title>
<link>https://johna.compoutpost.com/blog/739/visual-studio-bug-when-deleting-line-with-word-wrap-enabled/</link>
<description>I have put up with a bug in Visual Studio for some time, but recently finally got around to reporting it. I need your vote to get this bug fixed.&lt;br&gt;&lt;br&gt;When word wrap is enabled, if you use CTRL+X to delete a line that spans more than one on screen line, and your cursor is positioned on the first on screen line, it removes the first on screen line but leaves subsequent parts of the line and moves them up to the end of the previous line to the one deleted. This does not seem right. Deleting a line should delete the entire line even if it spans multiple on screen lines when word wrap is enabled.&lt;br&gt;&lt;br&gt;&lt;b&gt;Steps to reproduce:&lt;/b&gt;&lt;br&gt;&lt;br&gt;Enable word wrap, create several lines of code, in the middle of the code add a line that spans multiple on screen lines, position cursor on the first line of that line, press CTRL+X&lt;br&gt;&lt;br&gt;Because this bug has existed for so long, the Visual Studio team is reluctant to fix it unless users vote to fix it.&lt;br&gt;&lt;br&gt;&lt;b&gt;You can read more and vote at &lt;a href=&quot;http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/5963895-correct-behavior-when-deleting-a-line-with-word-wr&quot; target=&quot;_blank&quot;&gt;visualstudio.uservoice.com&lt;/a&gt;.&lt;/b&gt;&lt;br&gt;&lt;br&gt;For more information including Microsoft's response see &lt;a href=&quot;https://connect.microsoft.com/VisualStudio/feedback/details/878388/bug-in-deleting-line-with-word-wrap-enabled&quot; target=&quot;_blank&quot;&gt;connect.microsoft.com&lt;/a&gt;.&lt;br&gt;&lt;br&gt;While we are at it, there's a feature required in SQL Management Studio that is sorely needed. For those who who use Always On it is very frustrating that SMS does not remember the vital setting for connecting to an Always On enabled database.&lt;br&gt;&lt;br&gt;For more information and to support this feature you please visit &lt;a href=&quot;https://connect.microsoft.com/SQLServer/feedback/details/786323/ssms-sql-server-management-studio-2012-missing-connection-properties-for-availability-groups&quot; target=&quot;_blank&quot;&gt;connect.microsoft.com&lt;/a&gt;.</description>
<comments>https://johna.compoutpost.com/blog/739/visual-studio-bug-when-deleting-line-with-word-wrap-enabled/#comments</comments>
<pubDate>2014-05-30T12:00:00+10:00</pubDate>
<category>Web Design</category>
<guid>https://johna.compoutpost.com/blog/739</guid>
</item>
<item>
<title>Best Practices for Speeding Up Your Web Site</title>
<link>https://johna.compoutpost.com/blog/682/best-practices-for-speeding-up-your-web-site/</link>
<description>Yahoo's Exceptional Performance team has published a number of best practices for making web pages fast on the Yahoo Developer Network.&lt;br&gt;&lt;br&gt;See &lt;a href=&quot;http://developer.yahoo.com/performance/rules.html&quot; target=&quot;_blank&quot;&gt;http://developer.yahoo.com/performance/rules.html&lt;/a&gt; for the full list but some of the highlights are:&lt;br&gt;&lt;br&gt;&lt;b&gt;Minimise HTTP requests&lt;/b&gt; by using CSS sprites, image maps and inline images.&lt;br&gt;&lt;br&gt;&lt;b&gt;Put Stylesheets on top&lt;/b&gt; (to the document HEAD).&lt;br&gt;&lt;br&gt;&lt;b&gt;Put Scripts at the bottom&lt;/b&gt; as they block parallel downloads, so may delay the loading of other resources like images.&lt;br&gt;&lt;br&gt;&lt;b&gt;Reduce the number of DOM elements&lt;/b&gt; to improve the performance of DOM access in JavaScript.&lt;br&gt;&lt;br&gt;&lt;b&gt;Split components across domains&lt;/b&gt; to maximise parallel downloads. You can create a couple of extra sub-domains for this purpose.&lt;br&gt;&lt;br&gt;&lt;b&gt;Minimuse the number of iframes&lt;/b&gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;No 404s&lt;/b&gt;: only show informative 404 pages where appropriate &amp;mdash; not for images and JavaScript files.&lt;br&gt;&lt;br&gt;&lt;b&gt;Choose &amp;lt;link&amp;gt; over @import&lt;/b&gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Keep components under 25K&lt;/b&gt; as the iPhone won't cache components bigger than 25K (uncompressed size).&lt;br&gt;&lt;br&gt;&lt;b&gt;Avoid empty Image src&lt;/b&gt; as some browsers will waste server resources handling these.&lt;br&gt;&lt;br&gt;There's plenty more tips there so it is well worth a read.</description>
<comments>https://johna.compoutpost.com/blog/682/best-practices-for-speeding-up-your-web-site/#comments</comments>
<pubDate>2013-01-17T12:00:00+10:00</pubDate>
<category>Web Design</category>
<guid>https://johna.compoutpost.com/blog/682</guid>
</item>
<item>
<title>jobs.nsw - web user interface design at its worst</title>
<link>https://johna.compoutpost.com/blog/599/jobs-nsw-web-user-interface-design-at-its-worst/</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>https://johna.compoutpost.com/blog/599/jobs-nsw-web-user-interface-design-at-its-worst/#comments</comments>
<pubDate>2011-12-01T12:00:00+10:00</pubDate>
<category>Web Design</category>
<guid>https://johna.compoutpost.com/blog/599</guid>
</item>
</channel>
</rss>
