<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>blog.dileno.com</title>
    <link>http://blog.dileno.com/</link>
    <description>RSS for 10 latest entries on blog.dileno.com</description>
    <copyright>&amp;copy; Martin Söderlund</copyright>
    <ttl>15</ttl>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/blogdilenocom" /><feedburner:info uri="blogdilenocom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
      <title><![CDATA[A Month With iPhone: A Month With Pain]]></title>
      <link>http://blog.dileno.com/archive/201201/a-month-with-iphone-a-month-with-pain/</link>
      <description><![CDATA[<p><a href="/archive/201111/ios-vs-android--1st-day-battle/">In November I wrote about iOS vs Android</a>&nbsp;and what I felt were the immediate drawbacks and positives with iOS after one week's use.</p>
<p>After my stint with iPhone 3GS and iOS 5 was over, I felt a bit.. empty. Was this it? Had I missed something?</p>
<p>Now don't get me wrong. I still think the UI is slick, that iOS 5 seems quite a thorough OS. However, I can't understand the hype. Ok, Apple were the first ones to give a great and smooth smart phone to the masses, and they still deliver. The competition has however come leaps and bounds and I didn't feel Apple improved my life with their latest OS on one of their best selling cell phones ever, 3GS.</p>
<p>Also, three things bothered me:</p>
<ol>
<li>Many apps didn't save the state, meaning I would fire up an app, do something, then fire up another app, do something, go back to the former app just to see what I did now was gone. Dislike.</li>
<li>In general, you had to pay for good apps. Since I'm an Android user, I'm not really used to pay for good apps. I pay for great apps that improve my life.</li>
<li>You had to use iTunes to even change the ring signal. No way I would bloat my laptop with that crap.</li>
</ol>
<div>For me, Android with its Market is a clear winner, although there of course are drawbacks there too. For now though, I won't even consider being an iPhone user, if I'm not forced to.</div>
<p>&nbsp;</p>]]></description>
      <guid>http://blog.dileno.com/archive/201201/a-month-with-iphone-a-month-with-pain/</guid>
      <pubDate>Fri, 27 Jan 2012 07:33:34 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[iOS vs Android - 1st Day Battle]]></title>
      <link>http://blog.dileno.com/archive/201111/ios-vs-android--1st-day-battle/</link>
      <description><![CDATA[<p><img class="right xtra" src="http://blog.dileno.com/images/upload/ios-5.png" alt="iOS 5" width="150" height="150" />Since I'm a pretty avid Android user, and barely have touched Apple devices at all, I somehow felt enthustiastic when I got the chance to try out an <strong>iPhone 3GS with iOS 5</strong> for a couple of weeks.</p>
<p>This is my second day using an iPhone, ever, and here are my thoughts on the smartphone and its latest OS so far:</p>
<h2>Pros</h2>
<ul>
<li><strong>Very slick UI</strong>, iPhone might actually be the easiest phone ever to get started with.</li>
<li><strong>The keyboard</strong> just works and is very accurate more often than not. Normally, I'm having a torrid time using the keyboard on new smartphones, but this keyboard is nothing like it. And this is the standard iOS keyboard..</li>
<li>Of course, the number of apps in <strong>The&nbsp;App Store</strong>. It's filled with goodies and there's plenty to choose from.</li>
<li>Once you get used to it, <strong>Notification Center</strong> is great for a productivity guy like me.</li>
</ul>
<h2>Cons</h2>
<ul>
<li>I have to <strong>fill in my Apple Id password</strong> every time I download something from The App Store. Not OK.</li>
<li>I <strong>miss some Android apps</strong>, like my keyboard <a href="http://www.swiftkey.net/">SwiftKey X</a>,&nbsp;the best Facebook app <a href="http://friendcasterapp.com/">FriendCaster</a> and remote app <a href="http://unifiedremote.com/">Unified Remote</a>. Even after some research, I've not found anything similar that is as good as these apps.</li>
<li>I'd like <strong>The App Store to have a filter for games vs just apps</strong>. I'm not interested in games at all, which means browsing The App Store for the most popular apps would be so much better if I could filter out the games. As a new iOS user, I'd like the most used apps presented for me in an instant.</li>
<li>To set up <strong>complete Gmail syncronization</strong>, with e-mail, calendar <strong>and</strong> contacts, you have to setup an Exchange account. The Gmail account alternative won't syncronize your contacts. I haven't tried iCloud, even though I can imagine it's a life saver for many?</li>
</ul>
<p>I'll be posting more stuff on my experiences with iOS. Feel free to join the discussion!</p>]]></description>
      <guid>http://blog.dileno.com/archive/201111/ios-vs-android--1st-day-battle/</guid>
      <pubDate>Fri, 25 Nov 2011 09:37:14 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[How To Hide The Spotify Notifications on Facebook]]></title>
      <link>http://blog.dileno.com/archive/201109/how-to-hide-the-spotify-notifications-on-facebook/</link>
      <description><![CDATA[<p>Spotify and Facebook recently became great buddies, and with that came what many would consider Spotify spam on Facebook - news feeds all over Facebook get filled with Spotify notifications.</p>
<p>However, you can do something about it:</p>
<ul>
<li>You can <strong>stop sending your music</strong> to Facebook.</li>
<li>You can <strong>hide all Spotify notifications</strong> in your news feed.</li>
</ul>
<h2>Stop sending your music to Facebook</h2>
<ol>
<li>In Spotify, choose Edit-&gt;Preferences (or just tap Ctrl+P)</li>
<li>Find the Facebook box and untick the <span style="text-decoration: underline;">Get personal recommendations by sending music [..]</span>&nbsp;alternative:<br /><img src="http://blog.dileno.com/images/upload/spotify-fb-recommendations.PNG" alt="Stop sending Spotify links to Facebook." width="529" height="132" /></li>
</ol>
<p>Alternatively, you can<strong> remove the Spotify app</strong> from your Facebook:</p>
<ol>
<li>Hover a Spotify notification in your news feed, click the top right arrow icon.</li>
<li>Choose <span style="text-decoration: underline;">Remove Spotify</span>&nbsp;and confirm.<br /><img src="http://blog.dileno.com/images/upload/fb-remove-spotify.png" alt="Remove Spotify from Facebook" width="350" height="177" /></li>
</ol>
<h2>Remove all Spotify notifications from your Facebook news feed</h2>
<p>To hide all Spotify notifications, as of now, you first have to remove the Spotify app (see above image).</p>
<p>Now you can choose to hide all notifications in your news feed:</p>
<ol>
<li>Hover a Spotify notification in your news feed, click the top right arrow icon.</li>
<li>Choose <span style="text-decoration: underline;">Block Spotify</span> and confirm: <br /><img src="http://blog.dileno.com/images/upload/fb-block-spotify.png" alt="Block Spotify on Facebook." width="346" height="156" /></li>
</ol>
<p>Facebook seem to change the options here too, so there's another alternative available to some users: <span style="text-decoration: underline;">Hide all by Spotify</span>:</p>
<ol>
<li>Hover a Spotify notification in your news feed, click the top right arrow icon.</li>
<li>Choose Hide all by Spotify and confirm:<br /><img src="http://blog.dileno.com/images/upload/fb-hide-spotify.png" alt="Hide all Spotify updates on Facebook." width="306" height="261" /></li>
</ol>]]></description>
      <guid>http://blog.dileno.com/archive/201109/how-to-hide-the-spotify-notifications-on-facebook/</guid>
      <pubDate>Tue, 27 Sep 2011 09:03:20 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Fixing Some of Facebook's New Privacy Settings]]></title>
      <link>http://blog.dileno.com/archive/201109/fixing-some-of-facebooks-new-privacy-settings/</link>
      <description><![CDATA[<p>Facebook recently launched new privacy settings, and with that launch came some headache for those serious about their Facebook integrity.</p>
<p>For instance, if you post to your wall and you've set your <strong>wall posts visibility to friends only</strong>, that still means:</p>
<ul>
<li>Friends of friends can view, comment and like your check-ins.</li>
<li>Frends of friends can view all your likes (both Facebook fan pages and liked links).</li>
<li>Friends of friends can view your subscriptions.</li>
</ul>
<p>Regarding the check-in visibility, it's hard to do something about.<strong> Even though you've set check-in visibility to friends only, that still means friends + friends of friends</strong>. That's just how check-ins work right now.</p>
<p>However, you can do something about your fully visible likes and subscriptions. You can <strong>hide them, but at a cost</strong> - you'll hide them for everybody instead. Including yourself and your friends. Plus you'll hide all future likes and subscriptions for everybody.</p>
<p>Anyway, here's how you limit likes and subscriptions visibility to friends of friends:</p>
<p>To <strong>hide likes</strong>, go to your Facebook page, find any like, click the X button that appears in the right corner and choose <strong>"Hide all recent likes activity from my profile"</strong>:</p>
<p><img class="xtra" src="http://blog.dileno.com/images/upload/fb-hide-activities.png" alt="How to: &quot;Hide all recent likes activity from my profile&quot;" width="442" height="132" /></p>
<p>To <strong>hide subscriptions</strong>, go to your Facebook page, find any subscription, click the X button and choose <strong>"Hide all revcent subscription activity from my profile"</strong>.</p>
<p>If you want to remove those settings in the future, do it by scrolling down the news feed on your Facebook page and click on Edit Options in the bottom right area. Then you get this popup where you can do the changes you want:</p>
<p><img class="xtra" src="http://blog.dileno.com/images/upload/fb-edit-profile-settings.png" alt="How to: &quot;Edit your profile story settings&quot;" width="493" height="359" /></p>
<p>Of course, you can use the <strong>Manage Past Post Visibility</strong> feature in Privacy Settings (arrow in top right corner) to hide previous public posts, but that only takes you so far.</p>
<p>Also, Facebook privacy settings&nbsp;doesn't include public group's comments you've made. Those comments will appear in your news feed anyway.</p>
<p>But until Facebook fixes this privacy issue, this is how to do it if you want to hide your wall posts from the public.</p>
<p>And, the ultimate question - how far are you willing to go in trusting all friends of your friends on Facebook?</p>]]></description>
      <guid>http://blog.dileno.com/archive/201109/fixing-some-of-facebooks-new-privacy-settings/</guid>
      <pubDate>Thu, 22 Sep 2011 15:08:56 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Why Blogger Is A Sensationally Bad Blogging Platform]]></title>
      <link>http://blog.dileno.com/archive/201109/why-blogger-is-a-sensationally-bad-blogging-platform/</link>
      <description><![CDATA[<p>Google's <a href="http://www.blogger.com/">Blogger</a> platform hosts a whole number of blogs all over the world. In fact, it must be one of the absolutely most popular blogging services available, probably only bettered in numbers by Wordpress.com blogs. However, that's the only good thing about Blogger, as far as I'm concerned.</p>
<p>Me, amongst other Blogger users, <strong>repeatedly swear about the incredibly bad user interface</strong>. But <a href="http://googleblog.blogspot.com/2011/08/bloggers-fresh-new-look.html">Google changed that</a>&nbsp;recently! However, even though Blogger has become more editor friendly and the editor interface much more appealing, what's behind the surface is a mess.</p>
<p>I'm a huge fan of <strong>semantic and beautiful HTML and Blogger does nothing like that</strong>. New sentences, bold text sections and much more means absolutely <strong>awful conversion to a HTML</strong> resembling something like what HTML code looked like in the 90's. And this is bad. Really bad. First of all, search engine robots (even the Google robot) won't completely understand the structure of the blog posts, in the long run meaning worse ranking in search engines. Not good.</p>
<p>Also, <strong>editing a Blogger post is an absolute mess</strong>. How hard can it be? Google - just look at your closest "competitor" - Wordpress - which is a perfect example of how easy it should be to write and format a blog post. When I write a blog post in Blogger today, I need to actually code HTML to format stuff the way I want. Not very user friendly.</p>
<p>So, please Google - stop whatever you're doing with Blogger and start helping your Blogger users. Please!</p>
<p>Note: a more exact blog post on why Blogger is an awful platform: <a href="http://doodeyerick.com/12-things-wrong-about-blogger-platform-you-must-know/">12 things wrong about Blogger</a></p>]]></description>
      <guid>http://blog.dileno.com/archive/201109/why-blogger-is-a-sensationally-bad-blogging-platform/</guid>
      <pubDate>Wed, 14 Sep 2011 22:09:47 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Java Heap Space Issues And Windows 32 / 64 bit]]></title>
      <link>http://blog.dileno.com/archive/201107/java-heap-space-issues-and-windows-32--64-bit/</link>
      <description><![CDATA[<p>In another blog post, I wrote about <a href="/archive/201106/java-heap-space-outofmemoryerror-when-using-solr-and-apache/">Java Heap Space OutOfMemoryError</a>&nbsp;and how to resolve it. Then I came to the conclusion that allocating more memory to Java in Apache Tomcat would resolve the issue. It did - but only for a while.</p>
<p>It turns out if you run the 32 bit version of Apache Tomcat on <strong>Windows</strong>, you can only assign 1.3 GB of memory to it. In some cases it's enough, in other cases, it's not.</p>
<p>This is where you should really know the server Tomcat is installed on. If it's a <strong>64 bit machine</strong>, you're probably safe. Because if you have a 64 bit machine, you'll be able to allocate more memory to Java in Tomcat.</p>
<p>You just need to install&nbsp;<a href="http://www.filehippo.com/download_jre_64/">Java 64 bit</a>&nbsp;and <a href="http://tomcat.apache.org/download-70.cgi">Tomcat 64 bit</a>.&nbsp;(I couldn't find Java 64 bit on the Java website so I used FileHippo instead.)</p>
<p>When the 64 bit versions of Java and Tomcat are installed, you'll be able to allocate a lot more memory.</p>
<p>In our specific project where we use Solr&nbsp;(Java based)&nbsp;for search, Tomcat 64 bit in fact used less memory for Java than Tomcat in the 32 bit version. Plus indexing was faster.</p>
<p>Conclusion: if your server runs a 64 bit OS, then you should install the 64 bit Java and Tomcat versions to be able to address Java Heap Space issues.</p>]]></description>
      <guid>http://blog.dileno.com/archive/201107/java-heap-space-issues-and-windows-32--64-bit/</guid>
      <pubDate>Thu, 07 Jul 2011 15:26:27 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[EPiServer XForms Implementation - Some Pointers]]></title>
      <link>http://blog.dileno.com/archive/201107/episerver-xforms-implementation--some-pointers/</link>
      <description><![CDATA[<p>EPiServer XForms is a pretty sweet alternative when it's up and running. However, implementing XForms is not always the simplest thing. Here are some reminders and pointers to get your XForms ready faster:</p>
<p>First of all, take a look at the Public Templates implementation of XForms. Then:</p>
<ol>
<li>Copy XForms.ascx + cs files to your project.</li>
<li>Copy the XForms specific events from global.asax.cs to your project's global.asax.cs.</li>
<li>Make sure your SMTP settings are correct.&nbsp;If they aren't, there will be no redirect after the XForm is posted, and therefore no thank you message will be displayed.</li>
</ol>
<p>Particularly the <strong>XFormAfterSubmitPostedData</strong> event (global.asax.cs) is interesting. Obviously it decides what happens after a form is posted.</p>
<p>Here is a helpful post on <a href="http://warting.se/2011/05/10/xform-aftersubmitposteddata-is-not-triggered/">XFormAfterSubmitPostedData and SMTP settings</a>.</p>]]></description>
      <guid>http://blog.dileno.com/archive/201107/episerver-xforms-implementation--some-pointers/</guid>
      <pubDate>Wed, 06 Jul 2011 15:46:19 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Delete Documents From Solr Index By Query]]></title>
      <link>http://blog.dileno.com/archive/201106/delete-documents-from-solr-index-by-query/</link>
      <description><![CDATA[<p>If you simply want to delete documents from your Solr index by using the web interface, here's a code snippet that lets you do so:</p>
<pre>http://localhost:8983/solr/update?stream.body=
&lt;delete&gt;&lt;query&gt;id:298253&lt;/query&gt;&lt;/delete&gt;&amp;commit=true</pre>
<p>This lets you delete documents where the <em>id field matches 298253</em>.</p>
<p>If you want to delete items that matches more than one field, just add another query:</p>
<pre>http://localhost:8983/solr/update?stream.body=
&lt;delete&gt;&lt;query&gt;id:298253&lt;/query&gt;
&lt;query&gt;entitytype:BlogEntry&lt;/query&gt;&lt;/delete&gt;&amp;commit=true</pre>
<p>If you want to delete all items in the index, just use this query:</p>
<pre>&lt;delete&gt;&lt;query&gt;*:*&lt;/query&gt;&lt;/delete&gt;</pre>]]></description>
      <guid>http://blog.dileno.com/archive/201106/delete-documents-from-solr-index-by-query/</guid>
      <pubDate>Mon, 27 Jun 2011 16:34:18 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Services And AutoEventWireUp]]></title>
      <link>http://blog.dileno.com/archive/201106/web-services-and-autoeventwireup/</link>
      <description><![CDATA[<p>If you get the <strong>NullReferenceException</strong> error when dealing with web services, it might have to do with <strong>AutoEventWireUp</strong> being set to false. If you get an error pointing at something like&nbsp;<code>foreach (ServiceDescription description in serviceDescriptions)</code>, it might also have to do with AutoEventWireUp set to false.</p>
<p>For instance, if you set AutoEventWireUp to false globally, in Web.Config, your web services will fail.</p>
<p>There's a fix for this though, although it's a bit of a different one.</p>
<p>You just have to locate the <strong>DefaultWsdlHelpGenerator.aspx</strong> file in&nbsp;C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG (or similar) and add this line to the top:</p>
<pre>&lt;%@ Page AutoEventWireup="true" %&gt;
</pre>]]></description>
      <guid>http://blog.dileno.com/archive/201106/web-services-and-autoeventwireup/</guid>
      <pubDate>Mon, 20 Jun 2011 17:12:09 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Java Heap Space OutOfMemoryError When Using Solr And Apache]]></title>
      <link>http://blog.dileno.com/archive/201106/java-heap-space-outofmemoryerror-when-using-solr-and-apache/</link>
      <description><![CDATA[<p>If you get the <strong>Java Heap Space OutOfMemoryError</strong> in Apache Tomcat, then there's quite an <span style="text-decoration: line-through;">easy fix</span>&nbsp;*.</p>
<p>In Apache Tomcat, you can customize the memory settings, thus allowing more memory to Java clients like Solr.</p>
<p>Just fire up "Configure Tomcat", click on the "Java" tab and allocate enough memory in the "Initial memory pool" and "Maximum memory pool" fields:</p>
<p><img class="xtra" src="http://blog.dileno.com/images/upload/apache-java-memory-settings.png" alt="Apache Tomcat 7 Java Memory settings" width="426" height="409" /></p>
<p>What memory size should you allocate here? Well, it depends. The default initial memory pool is 64 MB. If you've got a pretty large search index with many searches, you'll surelly need more memory allocated.</p>
<p>In a project here, where we've got approximately 20 Million indexed items being searched, 256 MB weren't enough as initial memory pool. 512 MB so far seems to work it out. I guess you just have to try some different values out, and monitor Tomcat's performance while fine-tuning.</p>
<p>* Also take a look at my other blog post on <a href="/archive/201107/java-heap-space-issues-and-windows-32--64-bit/">Java heap space issues and 32 / 64 bit versions of Apache Tomcat and Java</a>.</p>]]></description>
      <guid>http://blog.dileno.com/archive/201106/java-heap-space-outofmemoryerror-when-using-solr-and-apache/</guid>
      <pubDate>Wed, 15 Jun 2011 10:33:50 GMT</pubDate>
    </item>
  </channel>
</rss>

