And now, another language

0

Posted by Jaime | Posted in Coding | Posted on 05-06-2014

Tags: , , , , , , ,

swift-hero_2x

You know, I was getting quite comfortable with Obj-C, C++11, and everything else I had learned over the years… now Apple has to go and introduce another language: Swift

I don’t know what to make of it. How much better can it be than Obj-C? I guess I’ll find out over the course of the year.

I do have to say though, that “let” and “var” are pretty cool, in the same way that “auto” is pretty cool in C++11.

Oh, and if you haven’t already read Herb Sutter’s article on why you should use “auto” in your code, check it out here: AAA

Perforce and Xcode5

3

Posted by Jaime | Posted in Tools | Posted on 06-11-2013

Tags: , , ,

In a previous post, Perforce and Xcode4, I created applescripts to work with Xcode4 and Perforce.

I updated the AppleScripts to work with Xcode5 only and added a couple of new scripts.

One, called p4_file_renamed.scpt, is used to update the renamed file Perforce when you are using Xcodes rename functionality, either directly or through the refactor functionality.

The other two scripts get the filename of the currently selected file or the full path of the file which is useful for when you want to find a file by path in P4V.

You can download the file here: xcode5_p4_applescripts

Perforce and Xcode4

12

Posted by Jaime | Posted in Coding | Posted on 14-08-2013

Tags: , , , , , ,

I created some AppleScripts that allow you to control some basic Perforce functionality in Xcode4, which was lost when Apple released the latest version of their IDE.

Perforce actually published a way of checking out files using the Behaviors functionality in Xcode (Xcode and P4), but I wanted a little more.

Note, these scripts are a work in progress. If you happen to make improvements, let me know so that those changes can be shared with the community.

You can download the AppleScripts here: xcode_p4_applescripts

Update
The AppleScript files are also being hosted on the public Perforce swarm forum, located here: Perforce Public Swarm Server

Update 2013-11-06
I updated the AppleScripts to work with Xcode5 only and added a couple of new scripts.

The new applescript files are referenced in post Perforce and Xcode5

Steve Jobs 1955-2011

0

Posted by Jaime | Posted in Not-so-funny | Posted on 06-10-2011

Tags: , ,

It saddens me to read about the passing of Steve Jobs, who had been battling cancer since 2004.

Last night, Steve Jobs passed away, leaving a legacy that has affected so many people in a positive way.

Steve Jobs is more than the products he saw delivered during his helm at Apple, NeXT or Pixar. He is the man who kept his ideals close to him and would not compromise his vision for anything less than perfection.

He is an inspiration to so many of us in the same field, reminding us that we should be happy with what we do, being able to look ourselves in the mirror and know that we will live today as if it were our last.

With the words he spoke at the commencement speech in 2005, at Stanford University, he reminded me to keep my core ideals close. To live true to myself.

Importantly, this reminded me that I should stay the path towards programming Zen.

Steve, thank you for your time on this earth… for making a difference to many people.

You will be so dearly missed.

Apple’s newest product

0

Posted by Jaime | Posted in Funny | Posted on 25-03-2011

Tags: ,

Thanks to my co-worker for showing me this video:


Apple Introduces Revolutionary New Laptop With No Keyboard

Setting up the mac mini and TimeMachine

0

Posted by Jaime | Posted in What's New | Posted on 15-05-2009

Tags: , ,

I had a PowerBook that was showing it’s age. I didn’t feel like buying new computer so I actually bought a Mac mini on the recommendation of one of my co-workers.

Setting up the machine is typical Mac: plug in and go. The migration assistant made transferring everything over to my new computer way too easy.

Of course, there is a hitch: I used my AFP server to hold my TimeMachine sparseimage and that does not work on my new machine. I don’t feel like mucking with it now and I’m sure that getting the backup to work with my new computer will take time and effort that I am not willing to put in.

Anyway, I’m happy I got a new machine to work with.

You have to hand it to Obama

2

Posted by Jaime | Posted in What's New | Posted on 29-04-2009

Tags: , , ,

I set up this blog site for programming.

I set up this site so that I could share with other programmers some of the problems I have had and how I overcame them.

I set up this site, so that I could share with other developers who had similar problems as I did.

I didn’t set up this site to share my personal ideas, my daily to-dos or anything else.

As time went on though, the very items I tried to keep off this site made it here.

Twitter, Facebook, Flickr. They’re here. I didn’t understand them at first, but I enjoy them and they’re here.

Now Obama is here… he and politics have made their way to my website.

I have to say, Obama’s use of the internet as been quite impressive. The White House portal, his use of Twitter on the campaign trail and now, Flickr!!!.

I won’t lie. I don’t agree with his ideas, his policies or his plans, but I do agree that the use of the internet to make American’s more connected with the government is a great idea.

It seems for quite some time now people don’t want to know what’s going on in the government unless it’s controversial.

I don’t agree with that, and Obama is doing the right thing by making the U.S. government more visible. More tangible. Less frightening.

The U.S. is filled with good people and we tend to forget that too.

Let’s not forget who we are and that we all neighbors.

PowerBook G4 suffers another problem

0

Posted by Jaime | Posted in Not-so-funny | Posted on 29-04-2009

Tags: , ,

Apple doesn’t go out of their way when they have a batch of computers that have problems, unless of course those computers blow up and cause bodily damage.

The problem I’m talking about is the PowerBook G4 lower memory bank dying (apple.com).

Apparently, there was a whole lot of laptops that had this problem, but Apple only supported customers if their problem surfaced before July 2008.

Nice. Nice going Apple.

WWDC09 Sold out?

0

Posted by Jaime | Posted in What's New | Posted on 29-04-2009

Tags: ,

You know, I want to go to WWDC, but I couldn’t justify the trip. I had to many things going on at that point in time. The more time went on, the more I thought about going.

The track I was really interested in was OpenCL.

Honestly, I didn’t think it would sell out. But now, it has. I guess Apple is going okay.

Revisiting Me, My PowerBook and Apple

0

Posted by Jaime | Posted in Funny | Posted on 23-04-2008

Tags: , ,

This is old news, but something I felt compelled to write about anyway.

Last November, for the first time, I packed my bag, my PowerBook and headed over to Apple. 

I was there to attend the a week long Performance Workshop for the product that I work on at Nikon.

Now for those who don’t know, Nikon actually makes software to make your Nikon images look incredible! Now, Nikon cameras take amazing pictures as is, and it’s hard to believe how the picture could look better, but we done it. We can actually make those images look better! Cough, cough, *self-promotion*, I’m talking about Capture NX, cough, cough…

So I was there. At Apple. Where every day is 74 degrees and sunny. To me, this is new and this is nice.

Apple’s cafeteria is also something of a wonder. Not only does it serve every food imaginable, but I even got to enjoy my sushi, sitting next to Steve Jobs! Ha Ha! Talk about a nice trip that gets even better!

Well, that’s enough for now. It took me this long to write about this experience, and hopefully, it won’t take me that long to write about my experience at WWDC 08 when I go there this June! Hooray!