<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Qt on Zio Ivan</title>
    <link>https://ivandemarino.me/tags/qt/</link>
    <description>Recent content in Qt on Zio Ivan</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</managingEditor>
    <webMaster>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</webMaster>
    <copyright>2004-2026 Ivan De Marino. Licensed under CC BY 4.0</copyright>
    <lastBuildDate>Thu, 05 May 2011 21:45:56 +0000</lastBuildDate>
    <atom:link href="https://ivandemarino.me/tags/qt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Thinking out aloud: a JavaScript based console?</title>
      <link>https://ivandemarino.me/posts/thinking-out-aloud-a-javascript-based-console/</link>
      <pubDate>Thu, 05 May 2011 21:45:56 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/thinking-out-aloud-a-javascript-based-console/</guid>
      <description>&lt;p&gt;In the last month or two &lt;a href=&#34;https://github.com/detro/phantomjs&#34;&gt;I started contributing&lt;/a&gt; to &lt;a href=&#34;http://www.phantomjs.org&#34;&gt;PhantomJS&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;PhantomJS logo&#34; loading=&#34;lazy&#34; src=&#34;http://www.openclipart.org/image/800px/svg_to_png/lemmling_Cartoon_ghost.png&#34;&gt;
PhantomJS logo&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.
PhantomJS is an optimal solution for headless testing of web-based applications, site scraping, pages capture, SVG renderer, PDF converter and many other use cases.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;The project is really interesting and we are seeing a steady growth in terms of:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Need to ship your Qt app for Mac? Bundle it up!</title>
      <link>https://ivandemarino.me/posts/need-to-ship-your-qt-app-for-mac-bundle-it-up/</link>
      <pubDate>Wed, 27 Apr 2011 16:51:40 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/need-to-ship-your-qt-app-for-mac-bundle-it-up/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m contributing some code and GCC-CPU-time to &lt;a href=&#34;https://github.com/ariya/phantomjs&#34;&gt;PhantomJS&lt;/a&gt;. It&amp;rsquo;s a brilliant idea and I hope it will grow, maybe with some help from me as well.&lt;/p&gt;
&lt;p&gt;I have recently spent some time working out how to go from a &amp;ldquo;compiled from source&amp;rdquo; version, to generate a shippable executable. For Mac, in my case.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;a &#34; loading=&#34;lazy&#34; src=&#34;http://i.ehow.co.uk/images/a04/j8/5h/fold-cute-origami-gift-box-800x800.jpg&#34;&gt;
a &amp;lsquo;cute&amp;rsquo; bundle&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll explain how to bundle up your Qt based application, so that you can ship it. PhantomJS will be my reference example.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to handle Proxy PAC configuration with Qt</title>
      <link>https://ivandemarino.me/posts/how-to-handle-proxy-pac-configuration-with-qt/</link>
      <pubDate>Sun, 20 Mar 2011 19:51:31 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/how-to-handle-proxy-pac-configuration-with-qt/</guid>
      <description>&lt;p&gt;This article was originally &lt;a href=&#34;http://blog.orangelabsuk.com/2010/06/03/extract-proxy-configuration-from-a-pac-file-with-qt/&#34;&gt;written on another blog&lt;/a&gt;. That blog was never &lt;em&gt;officially published&lt;/em&gt;, and it will probably never be. It was written on the &lt;strong&gt;3rd of June 2010&lt;/strong&gt;, but is still &amp;ldquo;somewhat important&amp;rdquo; and relevant.&lt;/p&gt;
&lt;p&gt;Since the post was published, &lt;strong&gt;Richard Moore &amp;lt;rich @linux…fpb.site&amp;gt;&lt;/strong&gt; has done &lt;a href=&#34;http://gitorious.org/qt-examples/qt-examples/trees/master/pac-files&#34;&gt;a commit in the Qt examples directory that resamples very closely my code below&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So, I decided to repost it here.&lt;/p&gt;
&lt;h1 id=&#34;qt-and-proxy-configuration&#34;&gt;Qt and Proxy Configuration&lt;/h1&gt;
&lt;p&gt;What’s great of &lt;a href=&#34;http://qt.nokia.com/&#34;&gt;Qt&lt;/a&gt;, is that it comes with a very rich set of libraries to cover almost everything you can think of. As a Qt developer, you should always double check the Documentation first, to see if “it’s already there”, before jumping into coding. It saves tons of time.&lt;/p&gt;</description>
    </item>
    <item>
      <title>11/02/2011 - It happened today</title>
      <link>https://ivandemarino.me/posts/11-02-2011-it-happened-today/</link>
      <pubDate>Fri, 11 Feb 2011 23:47:43 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/11-02-2011-it-happened-today/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m impressed. Today a lot of important things just happened, and I think it&amp;rsquo;s work putting them down.&lt;/p&gt;
&lt;h1 id=&#34;tahrir-square-pushes-hosni-mubarak-down&#34;&gt;Tahrir Square pushes Hosni Mubarak down&lt;/h1&gt;
&lt;p&gt;After what he said yesterday night, I was not expecting this to happen so soon. &lt;a href=&#34;http://www.bbc.co.uk/news/world-middle-east-12433045&#34;&gt;Mubarak stepped down&lt;/a&gt;! In addition of being a great news for all my friends that are directly or indirectly related to Egypt, this is an &lt;strong&gt;INCREDIBLE&lt;/strong&gt; news for something I tagged as &lt;em&gt;&amp;ldquo;lost&amp;rdquo;&lt;/em&gt;: &lt;strong&gt;hope&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>&#34;So Long, and Thanks for All the Fish&#34;</title>
      <link>https://ivandemarino.me/posts/so-long-and-thanks-for-all-the-fish/</link>
      <pubDate>Thu, 21 Oct 2010 23:55:48 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/so-long-and-thanks-for-all-the-fish/</guid>
      <description>&lt;p&gt;I have been thinking of writing a post to &amp;ldquo;motivate&amp;rdquo; why this should have happened. My most tweeted rant is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Symbian is dead, long live S60&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But today &lt;a href=&#34;http://conversations.nokia.com/2010/10/21/nokia-focuses-on-qt-to-extend-reach-for-developers-make-mobile-experience-richer-for-users/&#34;&gt;Nokia decided to do it out of the blue&lt;/a&gt; (not really). So now I just have to acknowledge that I&amp;rsquo;m late. :)&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;http://www.definitivedowntempo.com/wp-content/uploads/2010/02/dolphins.jpg&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;what-the-heck-am-i-talking-about&#34;&gt;What the heck am I talking about?&lt;/h3&gt;
&lt;p&gt;Yes, I know, my ability to explain myself, sometimes, fails big time. But if you are here, I want to assume that you know who I&amp;rsquo;m and, more or less, &lt;em&gt;where I come from&lt;/em&gt;. If you don&amp;rsquo;t, why the heck are you reading my intellectual blasphemy? Go home!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Binary Tree Rebuilder</title>
      <link>https://ivandemarino.me/posts/binary-tree-rebuilder/</link>
      <pubDate>Fri, 05 Feb 2010 00:00:00 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/binary-tree-rebuilder/</guid>
      <description>&lt;p&gt;Imagine you have a &lt;a href=&#34;http://en.wikipedia.org/wiki/Binary_tree&#34;&gt;Binary Tree&lt;/a&gt;, with those characteristics:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;* Nodes do not respect any order relation - In other words: it&#39;s &amp;lt;strong&amp;gt;not&amp;lt;/strong&amp;gt; a [Binary Search Tree](http://en.wikipedia.org/wiki/Binary_search_tree) of any kind

* Every node appears &amp;lt;em&amp;gt;once and only once&amp;lt;/em&amp;gt; within the tree
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img alt=&#34;A nice Binary Tree&#34; loading=&#34;lazy&#34; src=&#34;http://www.drunkmenworkhere.org/bintree/pagerank.png&#34;&gt;
&lt;em&gt;A nice Binary Tree&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then, your little brother passes by your desk and, to upset you, deletes the tree from your computer memory/HD (yeah, I know, I&amp;rsquo;m pathetic at inventing hypothetical situations :-P ).&lt;/p&gt;
&lt;p&gt;Fortunately though, you previously did a &lt;a href=&#34;http://en.wikipedia.org/wiki/Tree_traversal&#34;&gt;Pre-Order and an In-Order visit of your tree&lt;/a&gt;, and stored the result in an 2 nice array.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Can you rebuild the original tree structure out of this 2 array?&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;How are you going to rebuild it?&lt;/h3&gt;
Yes, you can! (Sorry, I couldn&#39;t resist). And it&#39;s quite easy as well. What you have to do, is the following: 
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Take the first element of the PreOrder Array and use it as root of a new tree&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Find the position of this New Node in the InOrder Array, scanning it from &lt;code&gt;0&lt;/code&gt; to &lt;code&gt;n-1&lt;/code&gt; (&lt;code&gt;n&lt;/code&gt; is the number of Nodes)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;IF next element in the PreOrder Array is on the left of the New Node in the InOrder array: call RECURSIVELY this procedure, this time taking into account the portion of InOrder array that goes from &lt;code&gt;0&lt;/code&gt; to the &lt;code&gt;position of the New Node in the InOrder Array -1&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;IF next element in the PreOrder Array is on the right of the New Node in the InOrder array: call RECURSIVELY this procedure, this time taking into account the portion of InOrder array that goes from the&lt;code&gt; position of the New Node in the InOrder Array +1&lt;/code&gt; to &lt;code&gt;n-1&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Return the New Node&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By the way, this doesn&amp;rsquo;t work. To fix it we should be more generic, specifying things a little bit better. Things like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;* Every recursive calls takes into account a portion of the InOrder array; in the case of the first call it&#39;s the entire array

* There is going to be as much recursive calls as the number of elements in the PreOrder array
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Of course, is a tree what we are talking about here: &lt;strong&gt;recursion is a MUST&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Serverless chat to reduce office distance</title>
      <link>https://ivandemarino.me/posts/serverless-chat-to-reduce-office-distance/</link>
      <pubDate>Sun, 31 Jan 2010 18:37:26 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/serverless-chat-to-reduce-office-distance/</guid>
      <description>&lt;p&gt;This idea comes out for an old university-time idea: to write &lt;strong&gt;a serverless chat application&lt;/strong&gt;. Of course, I&amp;rsquo;m aware of the complications and the problems that using &lt;a href=&#34;http://en.wikipedia.org/wiki/Broadcast_address&#34;&gt;Broadcasting&lt;/a&gt; could create, so this problems would be took in consideration by design.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Office&#34; loading=&#34;lazy&#34; src=&#34;http://hof.povray.org/images/bigthumb/office-13.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;But why now? I was thinking of a way to reduce the &lt;em&gt;&amp;ldquo;office distances&amp;rdquo;&lt;/em&gt;: making easy to connect with a person who works in your own office. I know, it sounds a bit &lt;em&gt;&amp;ldquo;creepy&amp;rdquo;&lt;/em&gt; to depend on an application to do that. After all you could just stand up and go to the colleague&amp;rsquo;s desk. And that&amp;rsquo;s what I&amp;rsquo;d normally do: nothing impossible.&lt;/p&gt;</description>
    </item>
    <item>
      <title>QDetroBro: Experimenting with Qt on S60</title>
      <link>https://ivandemarino.me/posts/qdetrobro-experimenting-with-qt-on-s60/</link>
      <pubDate>Thu, 13 Aug 2009 11:23:44 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/qdetrobro-experimenting-with-qt-on-s60/</guid>
      <description>&lt;p&gt;The best way to learn a new language or a new framework is to find an idea and implement it. So I&amp;rsquo;m doing for &lt;a href=&#34;http://qt.nokia.com/&#34;&gt;Qt&lt;/a&gt; on &lt;a href=&#34;http://en.wikipedia.org/wiki/S60_(software_platform)&#34;&gt;S60&lt;/a&gt;. So I decided to implement a dummy browser that has some &lt;em&gt;smart/attractive/peculiar/interesting/funny&lt;/em&gt; bits. &lt;strong&gt;QDetroBro&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Because I&amp;rsquo;m lazy to package and attach code, and because is always good the evolution of a project from the ground-up, I decided to post it on &lt;a href=&#34;http://github.com/detronizator/&#34;&gt;my GitHub account&lt;/a&gt;. You can find it at: &lt;a href=&#34;http://github.com/detronizator/QDetroBro/tree/master&#34;&gt;http://github.com/detronizator/QDetroBro/tree/master&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snippet: fix Screen Orientation in a Qt/S60 app</title>
      <link>https://ivandemarino.me/posts/snippet-fix-screen-orientation-in-a-qt-s60-app/</link>
      <pubDate>Tue, 11 Aug 2009 08:58:10 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/snippet-fix-screen-orientation-in-a-qt-s60-app/</guid>
      <description>&lt;p&gt;I follow the &lt;a href=&#34;mailto:qts60-feedback@trolltech.com&#34;&gt;Qt/S60 Mailing list&lt;/a&gt;, that is turning out to be a very interesting and active ML, and the &lt;a href=&#34;http://labs.trolltech.com/blogs/&#34;&gt;Qt Labs blog&lt;/a&gt;, always full of very good code, written directly by the guys of &lt;a href=&#34;http://www.qtsoftware.com/&#34;&gt;Qt Software&lt;/a&gt;.
I thought could be nice to start to post some of the stuff I&amp;rsquo;m learning.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-c&#34; data-lang=&#34;c&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;lt;eikenv.h&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;lt;eikappui.h&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;lt;aknenv.h&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;lt;aknappui.h&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// lock orientation
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;CAknAppUi&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;appUi&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;static_cast&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;caknappui&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&amp;gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;CEikonEnv&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;Static&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;AppUi&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;appUi&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;c1&#34;&gt;//&amp;lt; Actually, this will always pass. It&amp;#39;s a &amp;#34;static_cast&amp;#34; after all...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;   &lt;span class=&#34;n&#34;&gt;appUi&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&#34;nf&#34;&gt;SetOrientationL&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;CAknAppUi&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;EAppUiOrientationPortrait&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;Today&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;&amp;#39;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;s&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;source&lt;/span&gt; &lt;span class=&#34;nl&#34;&gt;is&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Nokia&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Forum&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;](&lt;/span&gt;&lt;span class=&#34;nl&#34;&gt;http&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;//discussion.forum.nokia.com/forum/showthread.php?t=164499).&amp;lt;/caknappui&amp;gt;&amp;lt;/aknappui&amp;gt;&amp;lt;/aknenv&amp;gt;&amp;lt;/eikappui&amp;gt;&amp;lt;/eikenv&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Nokia should Learn, not Teach</title>
      <link>https://ivandemarino.me/posts/nokia-should-learn-not-teach/</link>
      <pubDate>Sun, 15 Jun 2008 03:06:34 +0000</pubDate><author>detronizator&#43;blog@gmail.com (Ivan De Marino, aka &#34;Zio Ivan&#34;, aka &#34;detro&#34;)</author>
      <guid>https://ivandemarino.me/posts/nokia-should-learn-not-teach/</guid>
      <description>&lt;p&gt;From &lt;a href=&#34;http://linux.slashdot.org/article.pl?sid=08/06/13/123206&#34;&gt;Slashdot&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Nokia Urges Linux Developers To Be Cool With DRM&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr /&gt;
[superglaze](mailto:superglaze@hotmail.com) writes in to note that according to Nokia&#39;s software chief, its plans for open source include getting developers to [accept things like DRM, commercial IP rights, and SIM locks](http://www.businessweek.com/globalbiz/content/jun2008/gb20080612_288518.htm?chan=top+news_top+news+index_global+business).
&gt; «[[Ari] Jaaksi](http://jaaksi.blogspot.com/) admitted that concepts like these &#34;go against the open-source philosophy,&#34; but said they were necessary components of the current mobile industry.
&#34;Why do we need closed vehicles? We do,&#34; he said.
&#34;Some of these things harm the industry but they&#39;re here [as things stand]. These are touchy, emotional issues, but this dialogue is very much needed. As an industry, we plan to use open-source technologies, but we are not yet ready to play by the rules; but this needs to work the other way round too.&#34;»
&lt;/blockquote&gt;
&lt;p&gt;So, &lt;a href=&#34;http://www.nokia.com&#34;&gt;Nokia&lt;/a&gt; wants to EAT using the knowledge and the software that the Open Source Community created&amp;hellip; and, at the same time, change it&amp;rsquo;s culture and impose concepts that are COMPLETELY against the Open Source &amp;ldquo;philosophy&amp;rdquo; itself. Interesting&amp;hellip;
Instead of learning of the quality of what the Open Source community is capable of doing using a development model built around &lt;strong&gt;&amp;ldquo;equality and quality&amp;rdquo;&lt;/strong&gt;, they want to teach/impose? And to who? To the &lt;a href=&#34;http://trolltech.com/&#34;&gt;Trolltech&lt;/a&gt; employee? They are free to do so&amp;hellip; but this does not mean that the rest of the Community will change its mind.
&lt;a href=&#34;http://trolltech.com/products/qt&#34;&gt;QT&lt;/a&gt;? There is &lt;a href=&#34;http://www.kde.org/whatiskde/kdefreeqtfoundation.php&#34;&gt;KDE that has a foundation to protect it&lt;/a&gt; PLUS there is always &lt;strong&gt;the Fork option&lt;/strong&gt; ;-) .
Think about &lt;a href=&#34;http://www.xfree86.org/&#34;&gt;XFree86&lt;/a&gt; and &lt;a href=&#34;http://www.x.org/wiki/&#34;&gt;X.org&lt;/a&gt;: nowdays they lost all the users&amp;hellip; because of the stupid decision of changing the license.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
