<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code on Diogo Gomes</title><link>https://diogogomes.com/tags/code/</link><description>Recent content in Code on Diogo Gomes</description><generator>Hugo</generator><language>en</language><copyright>{year}</copyright><lastBuildDate>Sun, 28 Dec 2008 20:27:33 +0000</lastBuildDate><atom:link href="https://diogogomes.com/tags/code/index.xml" rel="self" type="application/rss+xml"/><item><title>Nokia 7100 Supernova plug-in for iSync</title><link>https://diogogomes.com/2008/12/28/nokia7100supernova-isync/</link><pubDate>Sun, 28 Dec 2008 20:27:33 +0000</pubDate><guid>https://diogogomes.com/2008/12/28/nokia7100supernova-isync/</guid><description>&lt;p&gt;This xmas I got my wife a new cellphone a &lt;a href="http://europe.nokia.com/7100supernova"&gt;Nokia 7100 Supernova&lt;/a&gt; which although not a 3G phone fits perfectly her needs. It has a slick design, a good enough camera (1.3 megapixel), GPRS/EDGE, support for the usual suspects (MMS, Java MIDP) and Bluetooth.&lt;/p&gt;
&lt;img src="https://diogogomes.com/images/2008/12/n7100_.jpg" alt="Nokia 7100 Supernova" title="Nokia 7100 Supernova" width="291" height="264" class="size-full wp-image-199" /&gt;
&lt;p&gt;Now comes the catch:&lt;/p&gt;
&lt;p&gt;I completely forgot to check if it was supported by iSync.
So after the gift unwrapping I was faced with an unsupported phone with no plugin available either by &lt;a href="http://europe.nokia.com/get-support-and-software/product-support/isync"&gt;Nokia&lt;/a&gt; nor anyone in the internet (as far as my google search is concerned).
Faced with this situation, I decided to go ahead and develop the plugin myself with Apple&amp;rsquo;s &lt;a href="http://developer.apple.com/documentation/DeveloperTools/Conceptual/iSyncPluginMakerUserGuide/"&gt;iSync Plug-in Maker&lt;/a&gt;. This utility is available in your system in case you have installed the developers tools in your OSX DVD. You can find it under /Developer/Applications/Utilities/.&lt;/p&gt;</description></item><item><title>Codebits</title><link>https://diogogomes.com/2008/11/14/codebits/</link><pubDate>Fri, 14 Nov 2008 16:12:45 +0000</pubDate><guid>https://diogogomes.com/2008/11/14/codebits/</guid><description>&lt;p&gt;Vim a Lisboa ver as modas e acabei a brincar com os &lt;a href="http://en.wikipedia.org/wiki/RFID"&gt;RFID&amp;rsquo;s&lt;/a&gt; disponibilizados pela &lt;a href="http://www.iuz.pt/"&gt;iUZ!&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Cada participante do Codebits tem na sua label um RFID que pode ser lido pelos portais distribuidos pelo recinto em zonas estratégicas. Todos participantes têm ainda acesso a essa informação através de uma API disponível &lt;a href="http://codebits.eu/s/api"&gt;aqui&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Meia dúzia de linhas php em &amp;ldquo;spaghetti code&amp;rdquo; permitem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://hng.av.it.pt/~dgomes/codebits/"&gt;Listar visitantes por zona&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://hng.av.it.pt/~dgomes/codebits/list.php"&gt;Verificar permanências&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://hng.av.it.pt/~dgomes/codebits/area.php"&gt;Descobrir hot zones&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Engraçado&amp;hellip; mas não passa disso&amp;hellip;&lt;/p&gt;</description></item><item><title>Pasta Code</title><link>https://diogogomes.com/2008/01/16/pasta-code/</link><pubDate>Wed, 16 Jan 2008 15:47:55 +0000</pubDate><guid>https://diogogomes.com/2008/01/16/pasta-code/</guid><description>&lt;p&gt;This might come as old news to many of you, but only very recently did I read the following &amp;ldquo;Letter to the Editor&amp;rdquo; of &amp;ldquo;CrossTalk&amp;rdquo; (“The Journal of Defense Software Engineering”):
&lt;code&gt;
Letter to the Editor
CROSSTALK, Journal of Defense Software Engineering&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The mention of &amp;ldquo;a feast of spaghetti code&amp;rdquo; (&amp;ldquo;Computer Collectives&amp;rdquo;, CrossTalk,
April/May 1992) prompted this response:&lt;/p&gt;
&lt;p&gt;Nearly every software professional has heard the term spaghetti code as a
pejorative description for complicated, difficult to understand, and impossible
to maintain, software. However, many people may not know the other two
elements of the complete Pasta Theory of Software.&lt;/p&gt;</description></item></channel></rss>