Address Book and Applescript

Apple dev, Code, isv - No Comments » - Posted on July, 9 at 11:17 am

Here is an applescript that grabs the most common records and writes the data to a tab delimited text file. Once you have that you can slice and dice it.

This could be modified to put all the data into a variable which will slice and dice even faster.

Read the rest of this entry »

Shell and Apple Address Book

Apple dev, Code, isv - No Comments » - Posted on June, 29 at 1:12 pm

Apple Address Book Applescript sometimes has advantages but for speed in obtaining data from Apple’s Address Book it is hard to beat using shell scripts. Do a data dump and you should be able to work out how to grab specific items for use in your application.

Here are some handy ones…

.

COMPLETE DUMP OF ALL DATA, TABLES, VALUES, ETC.:

sqlite3 $HOME/Library/App*Sup*/Add*B*/Add*B*-v22.abcddb .dump

GRAB ALL FIRST & LAST NAMES SEPARATED BY |:

sqlite3 $HOME/Library/App*Sup*/Add*B*/Add*B*-v22.abcddb \
“SELECT r.zfirstname, r.zlastname \
FROM ZABCDRECORD r ON pn.zowner = r.z_pk \
ORDER by r.zfirstname, r.zlastname;”

GRAB ALL EMAIL ADDRESSES:

sqlite3 $HOME/Library/App*Sup*/Add*B*/Add*B*-v22.abcddb \
“SELECT ZADDRESS\
FROM ZABCDEMAILADDRESS;”

GRAB ALL CONTACTS:

sqlite3 $HOME/Library/App*Sup*/Add*B*/Add*B*-v22.abcddb \
“SELECT ZSTRINGFORINDEXING \
FROM ZABCDCONTACTINDEX ;”

Ix-Xatt l-Ahmar bay - We moved close to here

Gozo, Photos - No Comments » - Posted on February, 6 at 6:46 am

Ix-Xatt l-Ahmar bay, GozoIx-Xatt l-Ahmar bay, GozoIx-Xatt l-Ahmar bay, Gozo Ix-Xatt l-Ahmar Salt Pans, Gozo
Short blog lull happened because we were very busy moving to our new flat. These absolutely gorgeous views are a few hundred yards from our new home in Gozo. There will be some great swimming this summer!

Interview: Annard Brouwer

interviews - 1 Comment » - Posted on January, 14 at 1:45 pm

Annard Brouwer When I read in the DEVONtechnologies blog that one of their developers was moving to Malta I immediately got in touch with him. Their products are some of the most respected in the Macintosh world. Annard is one of the top software engineers on this planet and has worked all over the globe. I’ve learned a lot from Annard since moved here, if Malta plays its cards right then more professionals like Annard will hear about SmartCity Malta and make the move. Raising the level of talent in any pursuit also raises the level for those already in that pool. Malta would do well to listen to people such as Annard if they wish to raise the caliber of programmers here in Malta.

Read the rest of this entry »

RSS - Ways your business can benfit are…

Business, isv - No Comments » - Posted on January, 9 at 11:25 am

RSS feed subscription symbolBusinesses spend time, energy, and money getting messages out in the open, hoping that people will find them. Why leave this up to chance? If you have an on-going story to tell, new prices, events, and changes of all kinds, make sure interested people are informed about it. With an RSS tool they are informed about new things as soon as you post them.

Here is a short list of ways that RSS is good for your business…

Read the rest of this entry »

Interview: Martin Debattista

interviews - No Comments » - Posted on January, 3 at 8:17 am

Martin Debattista “Journalist - a person who gathers and disseminates information about current events, trends, issues, and people.” There is far more to the story than that. Analysis of of those events and learning the character and traits of the players, people & companies, is one of Martin’s strong suits in my estimation. Being timely is not simply luck. Part detective must also be included for his job description. With SmartCity Malta coming online I suspect Martin will be adding Olympic athlete to the above list as sprinting will be required.

Read the rest of this entry »

Walking at the tip of Valletta, Grand Harbour side

Photos - No Comments » - Posted on January, 2 at 3:38 pm

Walk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand Harbour

3rd most searched ‘what is’ query in 2007

Business, Code, isv - No Comments » - Posted on December, 27 at 11:16 am

RSS feed subscription symbol Will 2008 be the year that people use RSS in a big way?

The most searched ‘what is’ items in Google for 2007 were Love, Autism, and RSS. There are several excellent reasons for this, one major reason is that people are seeking methods to control the fire hose of information that the internet is streaming at them. Instead of constantly checking web sites to see if anything new has been posted, using an RSS feed reader means that you are informed when something new is up. You decide who you want to inform you and many sites have multiple feeds so one can select the specific type of new items you want to be alerted to.

Read the rest of this entry »

Walking at the tip of Valletta, Grand Harbour side

Photos - No Comments » - Posted on December, 26 at 1:35 pm

Walk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand Harbour

Interview: Andre Garzia

interviews - No Comments » - Posted on December, 19 at 7:12 pm

Andre Garzia has been a friend of mine for years and has also attended two software developer conferences here in Malta. Andre lives in Brazil and recently decided to change goals from film writing and directing to pursuing software development.
Bright, energetic, and very positive are a few words to describe him but fun to be around probably tops the list.
Malta is a fantastic place to hold a conference, here are some photos of Andre enjoying his visit to Malta:
Gozo Valletta Mdina The Thinker at the temples

Read the rest of this entry »

SmartCity Malta - Center of Excellence

Business, SmartCity Malta, isv - No Comments » - Posted on December, 19 at 12:01 pm

Safe harbour for the future of Malta

The project that will put Malta firmly on the Technology map.

Over the next few months I will be devoting more on this and will set up a ‘Page’ (accessible unders ‘My Pages’ in the right column) as there will surely be a lot to cover. Being an independent software developer myself, I am hoping that Malta will attract other developers. Having a community of all types of software developers here would be a major plus for Malta in many ways.
view full screen

Walking at the tip of Valletta, Grand Harbour side

Photos - No Comments » - Posted on December, 19 at 8:32 am

Walk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand Harbour

Walking at the tip of Valletta, Grand Harbour side

Photos - No Comments » - Posted on December, 12 at 8:32 am

Walk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand Harbour

Interview: Klaus Major

People, interviews - No Comments » - Posted on December, 10 at 12:41 pm

Rock star programmer - literally. Klaus Major became a professional muscian from dedication and hard work. In the recording studio, in a garage band, or playing in a traveling circus, Klaus was a dependable pro. However, when his arm became not so dependable he was forced to take up another career at age 37. Klaus is an excellent example of someone who entered the IT world later in life and flourishes.

Read the rest of this entry »

Apple Dev - Applescript & Auto-Start

Apple dev, Code, Macintosh, isv - No Comments » - Posted on December, 7 at 8:46 am

OS X software developmentIn many of my applications I enable the user to set up auto-start of the application. You can ask them to go to login items in System Prefs but setting up a simple preference choice makes it much easier for the user and also more likely your application will be used by them.

Read the rest of this entry »

PHILIPPE STARCK

People, design - No Comments » - Posted on December, 5 at 9:03 pm

Philippe Starck TED Talks | Philippe Starck | Why Design?

Not everyone will be lucky enough to attend  Le Web 3 ‘07′   but you can still catch a glimpse of the brilliant Philippe Starck via TED. I had to play this several times in a row I loved it so much.

Walking at the tip of Valletta, Grand Harbour side

Photos - No Comments » - Posted on December, 4 at 8:26 pm

Walk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand HarbourWalk around Valletta Grand Harbour

Questions & Answers: Richard A. Muscat

interviews - 2 Comments » - Posted on November, 26 at 10:10 pm

Ricahard A. Muscat
Want to find the future of technology in Malta and the world? Follow Richard, but you’d better move quickly as he is a very busy guy.

Ten tech questions for Richard A. Muscat…

Read the rest of this entry »

Medieval Architecture & Interface Design

Culture - No Comments » - Posted on November, 21 at 1:09 pm

Useability and Architecture An interface designed for humans.

In the news today was an article that described an effort by the Malta Chamber of Architects which described “a visionary document, setting out a road map for the built and rural environment and proposing the setting up of a national centre for the built environment.” In this they reflect on the qualities that made villages attractive. Plus they recognize the need for a basic change in public transportation, “We must consider an effective nation-wide integrated public transport strategy”. “Quality in design is an essential tool for the country’s economic and social development,” said architect David Felice, the president of the Chamber.

Read the rest of this entry »

Get out of that chair!

Business, Macintosh, isv - No Comments » - Posted on November, 18 at 8:10 am

software developer dilemma

Of course, but be aware that the choice doesn’t have to be one or the other. It’s up to you to choose which & when.

Read the rest of this entry »