October 27th, 2010

Some updates to the status of Download Thingy.

Even the fact that i dont have a lot of time lately, i’ve been working on it and I plan to release a prototype version to interested alpha testers soon.

What has been done:

  • Completely “in house” CoreFoundation based download engine.
  • Queues, downloads and segments are GCD (Grand Central Dispatch) driven now.
  • No more libCurl.
  • Custom “.thingy” container format for storage and sharing of file downloads (and some other things).

Keep an eye to this blog if you are interested to try this application or email me directly at diego (at sign here) massanti.com.

Cheers!

Posted in Apple / Macintosh, Software Development | 2 Comments »

August 25th, 2010

Desiderata

– written by Max Ehrmann in the 1920s –

Not “Found in Old St. Paul’s Church”! — see below

Go placidly amid the noise and the haste,

and remember what peace there may be in silence.

As far as possible, without surrender,

be on good terms with all persons.

Speak your truth quietly and clearly;

and listen to others,

even to the dull and the ignorant;

they too have their story.

Avoid loud and aggressive persons;

they are vexatious to the spirit.

If you compare yourself with others,

you may become vain or bitter,

for always there will be greater and lesser persons than yourself.

Enjoy your achievements as well as your plans.

Keep interested in your own career, however humble;

it is a real possession in the changing fortunes of time.

Exercise caution in your business affairs,

for the world is full of trickery.

But let this not blind you to what virtue there is;

many persons strive for high ideals,

and everywhere life is full of heroism.

Be yourself. Especially do not feign affection.

Neither be cynical about love,

for in the face of all aridity and disenchantment,

it is as perennial as the grass.

Take kindly the counsel of the years,

gracefully surrendering the things of youth.

Nurture strength of spirit to shield you in sudden misfortune.

But do not distress yourself with dark imaginings.

Many fears are born of fatigue and loneliness.

Beyond a wholesome discipline,

be gentle with yourself.

You are a child of the universe

no less than the trees and the stars;

you have a right to be here.

And whether or not it is clear to you,

no doubt the universe is unfolding as it should.

Therefore be at peace with God,

whatever you conceive Him to be.

And whatever your labors and aspirations,

in the noisy confusion of life,

keep peace in your soul.

With all its sham, drudgery, and broken dreams,

it is still a beautiful world.

Be cheerful. Strive to be happy.

Posted in General Rants, Random Stuff | No Comments »

December 13th, 2009 | Tags:

No words….

The new 52" HD Apple Cinema Display

The new 52" HD Apple Cinema Display

Posted in Apple / Macintosh, Computers & Tech, General Rants, pictures, Web & Design | 1 Comment »

December 9th, 2009 | Tags: , , ,

While testing some of my own JavaScript code in the new beta build of Chrome for Mac, i was presented with this error:

Chrome for Mac error

Chrome for Mac error

Posted in Apple / Macintosh, Software, Web & Design | No Comments »

December 7th, 2009 | Tags: , , , ,

This is an updated build of the 3GPP group AAC Plus (or HE-AAC) reference audio encoder for Mac OS X 10.5 “Leopard” or newer.

You can get the binary build (3 way universal binary with PowerPC, i386 and x86_64 architectures) here:

enhAacPlusEnc for Mac OS X Leopard, Binary build with 3 architectures.

Xcode project (3.2 or newer) can be downloaded here:

enhAacPlusEnc Xcode project (3.2 or newer)

For more info visit the original post here.

Posted in Apple / Macintosh, Audio Tech, Computers & Tech, Software, Software Development | 4 Comments »

December 7th, 2009 | Tags: ,

Im just tired of having to recalibrate my LCD every time i re-install Mac OS X or just reset my user account, so im just saving here for my own use, a ColorSync profile for my Samsung 206NW displays.

If you happen to use a Samsung NW series LCD display with a Mac, feel free to give this profile a test. It is calibrated with Photo / Video editing in mind, that being said, the color temperature (white point) is “warmish”.

Cheers.

Instructions: Just unzip and move the .icc file inside /Library/ColorSync/Profiles/Displays/

Open display preferences and select the new color profile.

Download Below:

SyncMaster 206NW Mac OS X ICC ColorSync Profile

Posted in Apple / Macintosh, Computers & Tech, pictures, Web & Design | 1 Comment »

December 6th, 2009

I took these HDR pictures some days ago with a friend’s camera… maybe its time to get a better camera for myself.

Posted in pictures, Web & Design | 7 Comments »

September 22nd, 2009 | Tags: , ,

I have been working for the past days in the foundation for a new Download Manager that I’m writing for the Mac platform, and this is just an “status quo” about how things are evolving.

What is done so far.

  • A certainly modern multi-threaded Cocoa Framework implementation around libCurl‘s C API, which allows me to get my hands on the whole power of Curl, but without leaving the beauty of Objective-C and the Cocoa API’s at any moment.
  • A pretty basic prorotype kind of UI which allows simple segmented download of files for the time being.

    Download Thingy, the prototype UI

    Download Thingy, the prototype UI

  • A custom (and open, XML, standards based) file format baptized (you guessed) “.thingy” which takes care of storing partial download segments, some basic (for now) binary and redundancy checking, and of course, the ability to reconstruct itself into the original file.

    A standard .thingy container.

    A standard .thingy container.

  • Main Launch Services integartion is partially done too.
  • Some basic implementation of automatic mirror discovering.

What needs to be done.

  • I have to write the foundation for a proper queue management system.
  • Network Usage / Bandwidth Limiting logics are in the “to do” list too.
  • A proper User Interface.
  • A public alpha version with basic usability that people can start to use and report so i can accelerate the development based on actual user’s requests.
  • A Safari / WebKit plugin.

So far, this is looking pretty nice and i think it will become a pretty interesting utility for the Mac community.

Posted in Apple / Macintosh, Software Development | 5 Comments »

September 20th, 2009 | Tags: , ,

I had this problem some days ago where i wanted to automatically increase the build number of my Application in xCode, every time that i actually made a new build. xCode comes with a tool called agvtool which is supposed to fill this gap, but the main problem with this is that it needs the project to be actually closed, for some reason that i certainly ignore.

After some searches, i finished at this interesting post by Chris Hanson, but this was not exactly what i wanted to do, again, i wanted a simple approach to increase the build number with every build.

So this is what i did.

First I created a new configuration settings file in xCode, as shown below.

Creating a new Configuration Settings File in xCode

Creating a new Configuration Settings File in xCode

After this, i ended up with an empty configuration file, so i added the following inside it:

CURRENT_PROJECT_VERSION = 1

xCode uses this variable to store your application’s build number, so we are going to tell it to use this file in order to get the value for the CURRENT_PROJECT_VERSION variable.

Go to your target’s properties, be sure to select All configurations and All Settings, then base your target’s config in your newly created version.xcconfig file, and set the version variable to our new version variable as shown below:

Configuring the Target to use the new variable in the version.xcconfig file.

Configuring the Target to use the new variable in the version.xcconfig file.

After all this is done, all you have to do is create a new “Run Script” build phase, and place the following inside it:

NEW_VERSION=`cat "$SRCROOT/version.xcconfig" | awk '/CURRENT_PROJECT_VERSION/ { print $3 + 1 }'`
sed -i '' "s/CURRENT_PROJECT_VERSION = .*/CURRENT_PROJECT_VERSION = $NEW_VERSION/" "$SRCROOT/version.xcconfig"
CURRENT_PROJECT_VERSION=$NEW_VERSION
touch "$SRCROOT/version.xcconfig"

Obviously, if you changed the file or variable names, you will have to adapt the script as needed.
Now, every time you build the app, the build number is automatically increased by one, and included in your application’s plist file as shown below:

Build number being shown in the built app.

Build number being shown in the built app.

A whole thanks goes to the guys at #macdev on freenode Diabolik and KonaBlend who helped with the bash scripting!

Posted in Apple / Macintosh, Software Development | 1 Comment »

September 19th, 2009 | Tags: , ,

Download ThingyIm working in a new piece of software called “Download Thingy” (at least for now).

It is basically a Download Manager for Mac OS X. The main reasons why I am doing this are simple: There seems to be not a single Download Manager for the Mac that complies with the following:

  • It is Free.
  • It doesn’t have a lot of features that i will NEVER use.
  • Comes with a simple UI putting the main focus on the Downloads and not on other stuff I don’t care.
  • Allows segmented / multi threaded downloads.
  • Allows limiting the download speed in a “per download” or “overall” basis.

For this project I’m using the amazing libCurl library as the download engine backend.

Anybody who is interested to participate in a private alpha testing of this (yet prototype) app feel free to comment on this post and i will get back to you when an alpha version is ready for testing.

Cheers, Diego.

Posted in Apple / Macintosh, Computers & Tech, Software | 6 Comments »