<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by hAtom2Atom.xsl (2007-08-09) -->
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US" xml:base="http://brunosilva.net"><updated><!--
Using the newest datetime from the entry level.

Here is a sorted list from all the dates at the feed level:

20081219T091444 (2008-12-19T09:14:44+00:00)
20081105T170311 (2008-11-05T17:03:11+00:00)
20081104T173857 (2008-11-04T17:38:57+00:00)
20081029T152746 (2008-10-29T15:27:46+00:00)
20081028T123330 (2008-10-28T12:33:30+00:00)
20081027T141051 (2008-10-27T14:10:51+00:00)

-->2008-12-19T09:14:44+00:00</updated><id>http://brunosilva.net</id><link rel="alternate" href="http://brunosilva.net" type="text/html"/><title>» Bruno Silva - Technology Blog</title><entry xml:lang="en-US"><title>O marketing nas grandes superfícies…</title><id>http://brunosilva.net/o-marketing-nas-grandes-superficies/513/</id><link rel="alternate" href="http://brunosilva.net/o-marketing-nas-grandes-superficies/513/" title="O marketing nas grandes superfícies…" type="text/html"/><published>2008-12-19T09:14:44+00:00</published><updated><!--Using the value of the first "published" element-->2008-12-19T09:14:44+00:00</updated><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
            <p>
              No outro dia fui ao Media Markt de Sintra para comprar um pack de 4 pilhas recarregáveis. Encontrei um pack da Duracell a 14 euros (ou 13.90 e tal, whatever). Ao lado estavam um pack de
              2 pilhas a 6 euros.
            </p>
            <p>
              Portanto,
            </p>
            <ul>
              <li>
                <strong>6 euros x 2 packs</strong> (2 pilhas cada) = <strong>12 euros</strong>
              </li>
              <li>
                <strong>14 euros * 1 pack</strong> * (4 pilhas) = <strong>14 euro</strong>
              </li>
            </ul>
            <p>
              O senso comum não nos diz que os packs de maior número de unidades deve sair mais barato? Ou pelo menos ter o mesmo preço? O meu diz que sim. Ou é um engano de marcação de preço, ou
              stocks distintos em que um deles ainda foi adquirido com preço antigo.
            </p>
            <p>
              Mas a hipótese que me parece mais interessante é ser uma estratégia de marketing para ganharem uns trocos. Se toda a gente pensar como eu que os packs maiores saem mais barato ou igual,
              imaginem os vários 2 euros que ganham em cada pack (já nem falando na poupança na embalagem).
            </p>
            <p>
              Tive sorte de geralmente ter a mania de comparar os preços, e depois deste episódio vou estar mesmo atento.
            </p>
            <p>
              P.S.: Contei este episódio a uma pessoa que me disse que numa qualquer superfície o mesmo acontecia com os sacos de areia para gatos de 5 e 10 kg. Não comprovei <img src="http://brunosilva.net/wp-includes/images/smilies/icon_razz.gif" alt=":-P" class="wp-smiley"/>
            </p>
          </div></content><author><name>Bruno Silva</name><uri>http://brunosilva.net</uri></author><category term="my-life" scheme="http://brunosilva.net/category/" label="My Life"/></entry><entry xml:lang="en-US"><title>New Windows Live Hotmail - What was wrong about the icons?…</title><id>http://brunosilva.net/new-windows-live-hotmail-what-was-wrong-about-the-icons/509/</id><link rel="alternate" href="http://brunosilva.net/new-windows-live-hotmail-what-was-wrong-about-the-icons/509/" title="New Windows Live Hotmail - What was wrong about the icons?…" type="text/html"/><published>2008-11-05T17:03:11+00:00</published><updated><!--Using the value of the first "published" element-->2008-11-05T17:03:11+00:00</updated><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Today I got access to the new Hotmail interface. Pretty, but lacks the usual icons. I feel lost. The icons were a great help on finding what I needed. Now I just have to read the
              labels… I’m not feeling as a happy user right now… <img src="http://brunosilva.net/wp-includes/images/smilies/icon_razz.gif" alt=":-P" class="wp-smiley"/> Keep it simple, but not too
              simple.
            </p>
            <p>
              <img class="aligncenter" title="Windows Live Hotmail" src="http://brunosilva.net/bs-images/new_live_hotmail.png" alt="" width="610" height="351"/>
            </p>
          </div></content><author><name>Bruno Silva</name><uri>http://brunosilva.net</uri></author><category term="my-life" scheme="http://brunosilva.net/category/" label="My Life"/><category term="usability" scheme="http://brunosilva.net/category/" label="Usability"/><category term="web" scheme="http://brunosilva.net/category/" label="Web"/><category term="windows-live" scheme="http://brunosilva.net/category/" label="Windows Live"/></entry><entry xml:lang="en-US"><title>How Addicted to Blogging Are You?</title><id>http://brunosilva.net/how-addicted-to-blogging-are-you/504/</id><link rel="alternate" href="http://brunosilva.net/how-addicted-to-blogging-are-you/504/" title="How Addicted to Blogging Are You?" type="text/html"/><published>2008-11-04T17:38:57+00:00</published><updated><!--Using the value of the first "published" element-->2008-11-04T17:38:57+00:00</updated><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
            <p>
              <a href="http://www.oneplusyou.com/bb/blog_addiction" target="_blank">77%<span>How Addicted to Blogging Are You?</span></a>
            </p>
          </div></content><author><name>Bruno Silva</name><uri>http://brunosilva.net</uri></author><category term="my-life" scheme="http://brunosilva.net/category/" label="My Life"/></entry><entry xml:lang="en-US"><title>More about Azure Platform Services</title><id>http://brunosilva.net/more-about-azure-platform-services/497/</id><link rel="alternate" href="http://brunosilva.net/more-about-azure-platform-services/497/" title="More about Azure Platform Services" type="text/html"/><published>2008-10-29T15:27:46+00:00</published><updated><!--Using the value of the first "published" element-->2008-10-29T15:27:46+00:00</updated><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Some highlights from a nice article that I <a title="Windows Azure" href="http://canoas.com/blog/PermaLink,guid,0bcb96be-7f1c-4fe6-85d6-f015a697b47e.aspx" target="_blank">found in my
              feeds</a>. They are excerpts of the document, text in italic was written by me. Please note that the lines lack some context.
            </p>
            <h3>
              .NET Services
            </h3>
            <p>
              <strong>.NET Access Control Service</strong>
            </p>
            <p>
              All communication with the Access Control Service relies on standard protocols such as WS-Trust and WS-Federation. This makes the service accessible from any kind of application on any
              platform.
            </p>
            <p>
              Claims-based identity is on its way to becoming the standard approach for distributed environments.<br/>
              By providing an STS <em>(Securtity Token Service)</em> in the cloud, complete with rules-based claims transformation, the Access Control Service makes this modern approach to identity
              more attractive.
            </p>
            <p>
              <strong>.NET Service Bus</strong>
            </p>
            <p>
              The Service Bus assigns your organization a URI root, below which you’re free to create any naming hierarchy you like.<br/>
              This allows your endpoints to be assigned specific, discoverable URIs.<br/>
              Your application must also open a connection with the Service Bus for each endpoint it exposes.<br/>
              The Service Bus holds this connection open, which solves two problems.<br/>
              First, NAT is no longer an issue, since traffic on the open connection with the Service Bus will always be routed to your application. Second, because the connection was initiated from
              inside the firewall, there’s no problem passing information back to the application—the firewall won’t block this traffic.
            </p>
            <p>
              <strong>.NET Workflow Service</strong>
            </p>
            <p>
              Running <em>(workflows)</em> in the cloud brings some limitations, however.<em>(not all Windows Workflow Foundation activities are available: code activity isn’t)</em>.<br/>
              WF-based applications running in the Workflow Service can only use WF’s sequential workflow model, for example.
            </p>
            <p>
              Also, running arbitrary code isn’t allowed, and so neither the BAL’s Code activity nor custom activities can be used.
            </p>
            <h3>
              SQL Services
            </h3>
            <p>
              SQL Services is an umbrella name for what will be a group of cloud-based technologies.<br/>
              <em>(the first one available is SQL Data Services)</em><br/>
              SQL Data Services doesn’t provide a standard relational database, nor does it support SQL queries.<br/>
              LINQ C# syntax, with queries sent via either SOAP or a RESTful approach. The other is to use ADO.NET Data Services
            </p>
            <h3>
              Live Services
            </h3>
            <p>
              A mesh-enabled Web application must be implemented using a multi-platform technology, such as Microsoft Silverlight, DHTML, or Adobe Flash. These technologies are supported on all of
              the operating systems that can run the Live Framework.<em>(targeting Windows Vista/XP, Macintosh OS X, and Windows Mobile 6)</em>.
            </p>
          </div></content><author><name>Bruno Silva</name><uri>http://brunosilva.net</uri></author><category term="net" scheme="http://brunosilva.net/category/" label=".NET"/><category term="events" scheme="http://brunosilva.net/category/" label="Events"/><category term="my-life" scheme="http://brunosilva.net/category/" label="My Life"/><category term="programming" scheme="http://brunosilva.net/category/" label="Programming"/><category term="web" scheme="http://brunosilva.net/category/" label="Web"/><category term="windows" scheme="http://brunosilva.net/category/" label="Windows"/></entry><entry xml:lang="en-US"><title>First toughts about Windows Azure</title><id>http://brunosilva.net/first-toughts-about-windows-azure/484/</id><link rel="alternate" href="http://brunosilva.net/first-toughts-about-windows-azure/484/" title="First toughts about Windows Azure" type="text/html"/><published>2008-10-28T12:33:30+00:00</published><updated><!--Using the value of the first "published" element-->2008-10-28T12:33:30+00:00</updated><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
            <p>
              <a title="Windows Azure" href="http://www.microsoft.com/azure/windowsazure.mspx" target="_blank"><img class="aligncenter" title="Windows Azure" src="http://brunosilva.net/bs-images/logo_windows_azure.jpg" alt="" width="610" height="88"/></a>
            </p>
            <p>
              After the yesterday’s announcement of <a title="Azure Services Platform" href="http://www.microsoft.com/azure/" target="_blank">Windows Azure</a>, the brand new cloud-based Windows,
              today I started reading a little bit about it. This new platform seems promising, and I’ll write a bit about it in some of my next blog entries.
            </p>
            <p>
              First of all I’ll talk about the Windows Azure, which is a part of the Azure Services Platform. It allows you to run applications and store data on the cloud (replace cloud by “a bunch
              o Microsoft data centers”). You can reduce the Total Cost of Ownership (I don’t say eliminate, because you will have to pay for the service), because you don’t have to build/buy/care
              about the infrastructure. You contract a service that is payed based on usage, so you can get scalable solutions even for start-up projects for which is difficult to predict the needs.
            </p>
            <h3>
              Computing
            </h3>
            <p>
              You can have 2 kind of applications running on Windows Azure. Web applications and workers (asp.net applications vs. something like the Windows services).
            </p>
            <p>
              <strong>Web Role</strong>
            </p>
            <p>
              Web applications are just like any web app that you write nowadays (receiving HTTP requests and responding) but in order to take advantage of the farm of virtual servers that Windows
              Azure provides you, your web applications should be stateless.
            </p>
            <p>
              Well, not really stateless, but the state must be stored in a particular way. If you used session variables stored in the web server, you app would be attached to a particular server
              (the one to which the first request was made), this way any load balancing decision that lead your end-user to another server would lead to loss of that session data in the subsequent
              request… The right way to do it is to use cookies or (to prevent overhead on communications, or for security concerns) Windows Azure storage, which is available from all the virtual
              servers that serve your application.
            </p>
            <p>
              <strong>Worker Role</strong>
            </p>
            <p>
              Another option is to have an application that does some background work. They can’t have inbound communication, but can connect the outside world. They can read data from the Windows
              Azure Storage, and in the typical scenario, they get data from queues (which is one of the 3 storage mechanism of Azure). This kind of application can run indefinitely just like a
              Windows Service.
            </p>
            <h3>
              Storage
            </h3>
            <p>
              What about storage? There are 3 kind of storage that I’ll briefly refer.
            </p>
            <p>
              <strong>Blobs</strong> - to store large amounts of unstructured data such as images, movies, binary data, etc. You can associate meta-data to blobs such as location and tags for a
              photograph or title of an audio file, etc. Whatever you need.
            </p>
            <p>
              <strong>Tables</strong> - not regular relational tables, just a hierarchical set of entities and properties. You can access it’s data using LINQ and not SQL (to reinforce that this
              isn’t an SQL table :P)
            </p>
            <p>
              <strong>Queues</strong> - As I wrote before the main purpose of queues is communication to and between applications instances with the worker role
            </p>
            <p>
              All the storage is replicated 3 times in order to tolerate faults (at least some of them).
            </p>
            <p>
              As far as I read, I wasn’t able to try it yet, the Windows Azure SDK allows you to develop your applications locally and getting some guaranties that when you deploy it into to the
              cloud it will work smoothly. Locally you can debug you application, which you won’t be able to in the cloud.
            </p>
            <p>
              Next: .NET Services, SQL Services and Live Services
            </p>
          </div></content><author><name>Bruno Silva</name><uri>http://brunosilva.net</uri></author><category term="net" scheme="http://brunosilva.net/category/" label=".NET"/><category term="programming" scheme="http://brunosilva.net/category/" label="Programming"/><category term="web" scheme="http://brunosilva.net/category/" label="Web"/><category term="windows" scheme="http://brunosilva.net/category/" label="Windows"/></entry><entry xml:lang="en-US"><title>Microformats and Me</title><id>http://brunosilva.net/microformats-and-me/470/</id><link rel="alternate" href="http://brunosilva.net/microformats-and-me/470/" title="Microformats and Me" type="text/html"/><published>2008-10-27T14:10:51+00:00</published><updated><!--Using the value of the first "published" element-->2008-10-27T14:10:51+00:00</updated><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
            <p>
              <a title="Microformats" href="http://microformats.org/" target="_blank"><img class="aligncenter" title="Microformats" src="http://brunosilva.net/bs-images/microformats.png" alt="" width="640" height="100"/></a>
            </p>
            <p>
              Last week I had a <a title="Microformatos: pequenas peças do puzzle - slides" href="http://andr3.net/blog/post/126" target="_blank">workshop about Microformats</a> with <a class="url fn n" href="http://andr3.net/"><span class="given-name">André</span> <span class="family-name">Luís</span></a> <span class="url fn n"><span class="family-name">sponsored by PrimeIT
              and Sapo. It was very interesting and really answered some of the questions I had about Microformats.<br/></span></span>
            </p>
            <p>
              What are Microformats?
            </p>
            <blockquote>
              <p>
                Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards.
              </p>
            </blockquote>
            <p>
              Which Microformats did I implement in this blog after this workshop?
            </p>
            <p>
              <strong><a title="hAtom" href="http://microformats.org/wiki/hatom" target="_blank">hAtom</a></strong>
            </p>
            <blockquote>
              <p>
                hAtom is a <a title="microformat" href="http://microformats.org/wiki/microformat">microformat</a> for identifying semantic information in weblog posts and practically any other place
                <a class="external" title="http://www.atomenabled.org/" rel="nofollow" href="http://www.atomenabled.org/">Atom</a> <span class="urlexpansion">(<em>http://www.atomenabled.org/</em>)</span> may be used, such as news articles. hAtom content is easily added to most blogs by simple modifications to the blog’s
                template definitions.
              </p>
            </blockquote>
            <p>
              Since, as André told us, the new feature of IE8 called <a title="Web Slices" href="http://www.microsoft.com/windows/internet-explorer/beta/features/web-slices.aspx" target="_blank">Web
              Slices</a> is based o hAtom, by adding the class<br/>
              hslice next to the hentry class, now I also support Web Slices!
            </p>
            <p>
              <strong><a title="hCard" href="http://microformats.org/wiki/hcard" target="_blank">hCard</a></strong>
            </p>
            <blockquote>
              <p>
                hCard is a simple, open, distributed format for representing people, companies, organizations, and places, using a 1:1 representation of vCard (<a title="rfc-2426" href="http://microformats.org/wiki/rfc-2426">RFC2426</a>) properties and values in <a title="semantic-xhtml" href="http://microformats.org/wiki/semantic-xhtml">semantic HTML or XHTML</a>.
              </p>
            </blockquote>
            <p>
              <strong><a title="xFolk" href="http://microformats.org/wiki/xfolk" target="_blank">xFolk</a></strong>
            </p>
            <blockquote>
              <p>
                <strong>xFolk</strong> (from “xFolksomony”) is a simple and open format for publishing collections of bookmarks. It better enables services for improving user experience and sharing
                data in web-based bookmarking software.
              </p>
            </blockquote>
            <p>
              I was glad to ear that support for Microformats is growing on the web, and the web browsers are becoming Microformats-aware. According to André, Firefox 3 (or 3.1, I don’t remember)
              already brings an API for Microformats, although there isn’t any support in the user interface. Maybe in FireFox 4 we’ll get it. And as I said before, IE is supporting one of the
              Microformats.
            </p>
            <p>
              There are some web browser plugins that make Microformats usable. For FireFox you can get <a title="Firefox Operator" href="https://addons.mozilla.org/en-US/firefox/addon/4106" target="_blank">Operator</a> which will add a toolbar like shown in the picture bellow. You can access the contacts, events, bookmarks, etc available in the current webpage.
            </p>
            <p>
              <a title="Firefox Operator" href="https://addons.mozilla.org/en-US/firefox/addon/4106" target="_blank"><img class="aligncenter" title="Operator - Firefox Extension" src="http://brunosilva.net/bs-images/firefox_operator.jpg" alt="" width="640" height="451"/></a>
            </p>
            <p>
              For Internet Explorer you can get <a title="Internet Explorer Oomph" href="http://www.codeplex.com/Oomph/" target="_blank">Oomph</a>, but I wasn’t able to use it with my blog… Well,
              maybe in the future it will work better.
            </p>
            <p>
              Adding Microformats support in your blog or website can be pretty simple. It took me about 2 hours in this blog, thanks to a nice base Wordpress theme easily customizable.
            </p>
          </div></content><author><name>Bruno Silva</name><uri>http://brunosilva.net</uri></author><category term="my-life" scheme="http://brunosilva.net/category/" label="My Life"/><category term="usability" scheme="http://brunosilva.net/category/" label="Usability"/><category term="web" scheme="http://brunosilva.net/category/" label="Web"/></entry>
        dp.SyntaxHighlighter.ClipboardSwf = 'http://brunosilva.net/wp-content/plugins/syntaxhighlighter/files/clipboard.swf';
        dp.SyntaxHighlighter.HighlightAll('code');
    //</feed>
