Posts Tagged code

View Comments

Nokia 7100 Supernova plug-in for iSync

This xmas I got my wife a new cellphone a Nokia 7100 Supernova 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.

Nokia 7100 Supernova

Nokia 7100 Supernova

Now comes the catch:

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 Nokia 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’s iSync Plug-in Maker. 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/.

The tool is very easy to use, and quickly enough I produced the desired plug-in, and my wife was able to sync her contacts with the phone over bluetooth. I did not test it with the USB cable (which I don’t had at the moment) nor did I test Calendar sync.

It therefore doesn’t constitute a finished work but I leave it here for any one to pickup and improve.

Download iSync Plug-in for Nokia 7100 Supernova
Download iSync Plug-in Maker Document

View Comments

@Codebits

Vim a Lisboa ver as modas e acabei a brincar com os RFID’s disponibilizados pela iUZ!.

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 aqui.

Meia dúzia de linhas php em “spaghetti code” permitem:

Engraçado… mas não passa disso…

View Comments

Pasta Code

This might come as old news to many of you, but only very recently did I read the following “Letter to the Editor” of “CrossTalk” (“The Journal of Defense Software Engineering”):

Letter to the Editor
CROSSTALK, Journal of Defense Software Engineering

The mention of “a feast of spaghetti code” (“Computer Collectives”, CrossTalk,
April/May 1992) prompted this response:

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.

Lasagna code is used to describe software that has a simple, understandable,
and layered structure. Lasagna code, although structured, is unfortunately
monolithic and not easy to modify. An attempt to change one layer conceptually
simple, is often very difficult in actual practice.

The ideal software structure is one having components that are small and
loosely coupled; this ideal structure is called ravioli code. In ravioli
code, each of the components, or objects, is a package containing some meat
or other nourishment for the system; any component can be modified or replaced
without significantly affecting other components.

We need to go beyond the condemnation of spaghetti code to the active
encouragement of ravioli code.

Raymond J. Rubey
SoftTech, Inc.
3100 Presidential Drive
Fairborn, OH 45324
Voice: 513-429-8291
As seen in here