Matching Developer Certificate to Code Signing Profile

January 25th, 2010

From http://www.iphonedevsdk.com/forum/iphone-sdk-development/17999-profile-doesn-t-match-application-identifier.html

I was getting a “Code signing profile doesn’t match developer certificate” error.  After much troubleshooting.  I am able to set the Code Signing Profile in Project Info but the selection was greyed out when I was editing Active Target.

Finally fixed the bug by updating the plist!

Post by joni:

There were so many steps, I’m not sure I remember them all, but here are the parts I do remember, in case this helps anybody:

- I had two “System” keychains, so I deleted one of them
- I set the “login” keychain to be the default, so that new keys would be added there (it should show up bold when it’s the default)
- deleted the old public and private keys for my developer identity, and the wwdr and iphone developer certificates (in both the login and system keychains)
- quit keychain access and restarted it
- generated completely new keys, certificates, app id, provisioning profile
- made sure everything got added to the login keychain, not the system keychain
- in xcode deleted the old provisioning profiles from the Organizer and the device
- added the new profile to xcode and the device
- updated the info.plist (since I’d changed the com.yourcompany part of the app id in the new profile)

After verifying it worked with beta 4, I upgraded again to beta 5, did a clean rebuild, and everything still works fine.

Byte Order Mark (BOM) 

January 21st, 2010

From: http://forum.joomla.org/viewtopic.php?f=309&t=275353

“” is the Byte Order Mark (BOM) of the Unicode Standard. Specifically it is the hex bytes EF BB BF, which form the UTF-8 representation of the BOM, misinterpreted as ISO 8859/1 text instead of UTF-8.

Probably what it means is that you are using a text editor that is saving files in UTF-8 with the BOM, when it should be saving without the BOM. It could be PHP files that have the BOM, in which case they’d appear as literal text on your page.

The Unicode Consortium’s FAQ on the Byte Order Mark is at http://www.unicode.org/faq/utf_bom.html#BOM .

Horrible first post of the year I know but hey Henry suggested I post my bug zappers online and this is something =P.

Viacom Health Screenings

October 13th, 2009

New Data on Health Stats!

IDEAL 10/13/2009 7/31/2009 9/26/2008 7/18/2008 3/9/2007
REFERENCE x VIACOM DOCTOR VIACOM DOCTOR DOCTOR
WEIGHT 120 – 140 99.2 98 101 102.4 97
SYSTOLIC BLOOD PRESSSURE < 120 110 90 110 110 98
DIASTOLIC BLOOD PRESSURE < 80 62 60 78 70 64
LDL CHOLESTEROL < 100 88 62 80 65 x
HDL CHOLESTEROL > 55 52 77 57 78 x
TOTAL CHOLESTEROL 130 – 200 155 x 147 x 176
TRIGLYCERIDE LEVEL 50 – 150 73 53 49 41 x
BLOOD SUGAR (GLUCOSE) LEVEL 70 – 100 96 x x x x
NORMAL RESTING PULSE RATE 60 – 100 60 x 56 x 66
% BODY FAT 14 – 20 14.5% x 14% x x
BMI 18.5 – 24.5 17.5 x x x 17.5
WAIST x 22 x 26 x x

Goal: 6 Meals A Day => 1400 Calories

8am – 100 calories – Breakfast (Waffle)
10am – 140 calories – Fiber One
1pm – 300 calories – 1st Half of Lunch
5pm – 300 calories – 2nd Half of Lunch
8pm – 510 calories – Dinner
10pm – 150 calories – Cereal

Ultimate – Saturdays at 11am, Tu/Th 7:30pm

August 27th, 2009

Hellgate Ultimate
http://groups.google.com/group/hellgate-ultimate
Pickup Games at Astoria Park
Saturdays at 11am
Tuesdays and Thursdays at 7:30pm

Henry has gotten me into playing Ultimate. At first casually when the summer came around and we tossed the disc around in Central Park. Then he started finding groups that were more organized so we could play with more people. The first group at Central Park was okay but we found an even more organized, bigger, friendlier group at a better, closer location in Hellgate Ultimate in Astoria Park.

Indoor Ultimate in Colorado – 2/12/08, 2/6/09

The first and second time I’ve ever played Ultimate in my life occurred when Henry and I went on trips to Colorado the last two years. My first game was on 2/12/2008 in an indoor soccer field where the Ultimate rules were adjusted due to the location. It kicked my butt. I did not have the lung capacity for that game (at that altitude!). But it was fun nevertheless. We played for a few days in that trip and again for a day on 2/6/2009 when I got my first Ultimate injury. I hurt my back or hip or something and learned to stretch out my hips and my back every time I play sports or do something active.

Central Park, Great Hill Ultimate – 6/16/09

Around June, Henry started getting our friends to go to Ultimate. Here’s his recap of one of those days (6/16/09):

Michelle & I arrived @ GreatHill around 10:45am and they were already in the midst of 4v4 with 3 people subbing. I warmed up & tossed with Michelle, then Chris arrived and joined us in warming up & stretching.

The field was mostly grass except for the patch of dirt in the middle (of course). Luckily it didn’t rain on Friday so it wasn’t muddy.

After about 20 minutes, the game grew to 6v6, with 6 subs forming a 3rd team for quick 1st-to-score-2 point games -winning team stays. The 3 of us were quickly recruited to play on the 3rd team.

All guys except for michelle and 2 other girls. One of the other girls was decent, the other was barefoot so ineffectual. Our team wound up winning 3 straight before a picnic group who purchased a permit for our space forced us to relocate to the backup field 2 blocks away @ MorningSide park. Norman joined us just in time to relocate haha. We lost some people due to the relocation, but had 6v6 1-2 subs until we finished at 2pm. Even the slight drizzle was refreshing!

Here’s their house rules: 2 cones at each end to score in between, but no back boundary & no side boundaries. no stall count. i think it caters well to casual players with limited space. i would say 90% of the players had fair to decent flicks. there were 5 guys that play club (they also wore cleats).

I prefer this group WAY more than Dust Bowl. Better field, no dust, slightly higher level of play. So when it comes to playing in Central Park, this meetup.com group is definitely my pick from now on. Afterward they all went to a cafe to eat, but our group of 4 decided to go to Chipotle =)

Astoria Park, Hellgate Ultimate – 6/27/09

We started playing at Astoria Park on 6/27/2009. The people were very welcoming to Henry and me as newcomers. Henry also had a high school friend who introduced him to the group, Nathan, who I re-met a few weeks later. Henry’s impression of Astoria Park after the first visit: “Astoria Park Pick Up: Better field, better organized, better players, and they observe all the rules (ie. stalls)!” We went again for three Saturdays in July – 7/11, 7/18 (our birthday weekend) and 7/24. Towards the end of the month, Henry started going on Thursdays as well.

Henry’s 8/4 recap:

So in preparation for White Mountain Tourney, the women were holding a special ultimate clinic 11am! I wanted Michelle to take part despite her reluctance, so as soon as Chris arrived we immediately drove out to get there on time.

Sure enough, at the earliest i’ve ever seen, people were already tossing and warming up @ 11am! Apparently not just the women were asked to arrive for clinic, but the men on the roster were asked to arrive early to prep for the upcoming tourney too!

After warming up, michelle chris & i started tossing, but shortly after, all the women were gathering to start the clinic. Michelle didn’t wanna go, but after some encouragement, she reluctantly left us to go to the far end of the field with the 11 other girls while Chris & I continued tossing.

I couldn’t help feeling like a dad leaving their kid to preschool for the first time haha, because after an hour of clinic, Michelle was like a new Ultimate player!! and she said it was really helpful!

I don’t know what they did, but it worked… later in-game, Michelle had a krzy diving interception, caught a high float jumper in the air with 2 hands (not a clap catch), had 2 give&go’s that led to her scoring! it was pretty sweet watching from the sidelines =)

All our sessions on offense & defense strategy also paid off cuz she seemed much more comfortable in the stack, timing her breaks, and better covering her mark on defense. way to go Michelle.

We had 3 teams of 7 round robin to 3pts, 4 guys, 3 girls per team. Chris did pretty well too, getting the hang of the zones I reviewed with him during warmups using my cones as marks hehe. Hopefully Chris gets his cleats soon b/c it def makes a huge difference! Michelle was happy breaking in her new cleats!!

I’m really seeing a huge difference in my conditioning. I was able to run much faster for longer periods of time! My vertical jump has started returning too! it’s been helping me grab discs earlier in the air! I had a couple nice back breaks that led to some scores, plus some good handler cuts that made one guy come over and compliment me on making him really work to keep up haha.

Plus it’s been great to start getting to know more people. they’re starting to see that i’m serious about coming regularly =)

Looking fwd to playing again this week! can’t wait!!

We kept going every Saturday – 8/8, 8/15, 8/22. I’ve also started going on Thursdays. The last few weeks I’ve been leaving the field on such a high. I started feeling like I wasn’t such a noob anymore. I can run faster now and have higher endurance. It came at a price though. Because my cardiovascular system has caught up to my activities, my heart and lungs can take more but my body isn’t used to going as fast as I was running so I started getting shin splits last week. I didn’t ice it or take care of it enough so I started icing it this week so that it could heal better. The injury still lingers a bit but I’m hoping it will go away over time (and maybe with enough icing). I keep telling myself the pain is worth it for the joy and exercise I get from playing.

So the last few times I went to play, I felt like I was growing and getting better. Getting to play, catching a disc, scoring a goal seemed more like a normal thing instead of a huge success anymore. This was just telling me that I’ve gotten to the next level. I knew that Tuesdays and Thursdays are more hardcore and my high streak couldn’t stay high forever so today I felt the effects of my lack of experience and my not doing my homework. I didn’t do as well as I wanted to. I still scored a goal. I still was able to defend and catch up with the people I defended. I was able to block a disc throw. But I was off my game. I felt lost in the field. Didn’t know where to go on defense or offense. I didn’t have a good handle on how to play zone. I felt like I just needed to study more. I sat out of a few games and people noticed and they were very encouraging. They said not to take Ultimate too seriously and to have fun with it. I noted that I just needed to learn more. I do realize that a lot of this comes with experience but I want to supplement that with just knowing more about the game. I need to read up on this stuff.

Resources to draw from (mostly c/o Henry):

2009 Half Year Recap

August 26th, 2009

Teamliquid Blog Post:

Here’s a recap of how the year 2009 has been for me so far…

I ended 2008 with a trip to London for work (EMA 2008) and a trip to Germany for World Cyber Games 2008.   After four years of serving the StarCraft community, I decided to take a break from it all and just be a regular gamer.

I thought I was done by 2007 but during my family vacation in Denmark, MYM ended up snatching me up and sending me to BlizzCon.  How could I say no?  And after I realized I was going to be in Europe already when WCG was going to be there, I decided to hop on over and go for the sake of going, this time representing nobody else but myself.  I realized it might be my last hurrah so instead of just documenting the event from an outside perspective, I wanted to be part of the event, taking pictures among people and talking to people more so I could at least say that I was there and I met some good people.

Taking a break from the community meant being able to take a step back and looking at the bigger picture, having more time to focus on other goals and progressing in other aspects of life.  According to Stephen R. Covey’s “The 7 Habits of Highly Effective People,” it’s called “taking time to sharpen the saw”.  That is exactly what I did:

  • Physical – Exercise, Nutrition, Stress Management
    • I went snowboarding in Colorado.
    • I was part of a group dance/skit performance that took four months to prepare for.
    • I took  Breakdancing Classes from Ms. Vee and Lyrical Classes from Derek Mitchell at Broadway Dance Center.   This is where I get most of my flexibility training.
    • I’ve been going to the gym before work three times a week.  This is where I get my strength training.
    • I’ve been playing Ultimate as part of an organized group once or twice  every week.  This is where I get my cardio.
    • I’ve managed to stay pretty consistent with my physical training.  Because of my regular routine, I would say I am in the best shape I’ve ever been in my life.
  • Spiritual – Value Clarification & Commitment, Study & Meditation
    • I’ve been learning from Tim Keller’s sermons at Redeemer every Sunday morning.
    • I discuss the messages with Henry and note applications of what we learn.
  • Mental – Reading, Visualizing, Planning, Writing
    • I’ve opened up recently to opportunities to learn how to be more successful in life through reading books/magazines and going to work sponsored workshops.
    • I took a month long Advanced Flash Programming class at work.
    • I’ve been learning web development techniques and enterprise solutions through self-teaching and exposure to the tech team and I’ve been getting a lot of practice programming.
    • I’ve also been writing a lot more blog entries.  I’m trying to expand outside of just writing about the daily grind to writing more thought provoked entries.
    • Planning is just something I do on an almost daily basis.  It’s a part of me.  I can’t help but plan and organize or else I will feel overwhelmed by chaos.
    • Taking Chinese classes not only helps me communicate and understand Henry and his family more but it also trains my memory.
  • Social/Emotional – Service, Empathy, Synergy, Intrinsic Security.
    • Back in 2005, I struggled to break out of the shy/quiet shell I had built around myself. I have since learned so much about interacting with others.  I open myself up to opportunities to meet people once in a while through work, through sports, through friends.  I see people as interesting beings that have a lot to share about their lives, their interests and their knowledge now.  Although I am still introverted by nature, I am no longer bound by that nature.
    • Even though I am half a world away from my family, they are still a big part of my life.  I went back to Asia at the beginning of the year and intend to go back early next year.
    • I have expanded way beyond my team at work.  I work very closely with other teams, so much so that they can consider me to be part of their groups as well.  I put a lot more effort in talking to people and to be quite honest, it has become something I enjoy now rather than dread.
    • Watching TV and Movies isn’t exactly a social activity but just this very act gives me a lot to choose from in terms of topics to talk about with others.  I’ve gotten sucked into Battle Star Galactica, How I Met Your Mother, Lost, Dancing With The Stars, America’s Best Dance Crew, So You Think You Can Dance, America’s Got Talent, Deadliest Warrior, Two and a Half Men and WSOP.  I also got hooked on a few games on the Xbox 360 – Fable 2, Gears of War 2, Call of Duty 4/5, Guitar Hero World Tour – but this is less of a topic to discuss among people I encounter.

StarCraft doesn’t exactly fit into the above categories but I do still play.  I did take a break for a few months (unfortunately, this also deleted my account and my record and my friends list on USWest) but I’m back to my old 3v3 BGHing ways.  I do miss playing 1v1 though.  I don’t have enough time to dedicate myself to training my 1v1 game.  I wonder if I would be able to find anyone my level anymore out there.  That may just be a goal for another time.

For now, my sights are set upon pushing myself further in life, going to the next level at work while keeping everything else in life balanced.    I want to improve.  I want to achieve.  I want to succeed.  As I mentioned in my blog before, I just want to level up.