I went to a meetup last night featuring women in tech. The first talk was about User Notification is iOS 10. The second talk was about Design Patterns, MVC, MVVM, MVP. This talk was also based on a talk by Bordan Orlov. More info here on his talk. Design Patterns should be the first piece of architecture an iOS team addresses whenever implementing a new feature of project. I am still gaining more insights on the right pattern to use in each given case scenario. But it’s more important to keep adapting to change.
All posts in category Uncategorized
Posted by alpaul on January 26, 2017
I’m in the 5th week of my base training for IRONMAN Sweden. Today I’m doing a run swim run workout. So I’m making so to fuel up for the workout. The plan is to run to the pool about 30 minutes. Swim for about an hour continuous and run back home.
Posted by alpaul on January 26, 2017
My goal heading into Brooklyn was to break 1:40. Three days before race Saturday I caught a bug. This brought fever and a sore throat. I thought it would have subsided before race day but that wasn’t the case.
Both Anh and I love this race so our friends took care of our son for a few hours. We left Queens at 4:30am to make it to Coney Island. The plan was to park close to the finish so we wouldn’t have to take the train all the way back to the start. From where we parked in Sheepshead Bay it was close to the Belt Parkway back to Queens.
At the singing of the anthem I always get the race chills and excitement brewing. Even after a good 10 mins pre race warmup it was hard for me to get going during mile 1. Pace 7:49. I wasn’t too worried because I knew the webs would be shaken off soon enough. At about mile 3 I started feeling extra soreness from the back of my right knee. This wasn’t a good sign.
Sure enough I found myself walking for about 2 mins to shake this soreness off at mile 4. I used that opportunity at the aid station to take in salt and Gatorade. As I’ve done countless times before to abate this situation is to adjust my foam to lessen extending the kick.
However I still kept my pace conservative throughout the park as there is a main hill that wasn’t completed yet. The familiarity of the Brooklyn course sets itself up for a great run if paced correctly. This was my attempt at it. After exiting the park I immediately pushed the pace up to about 20 secs per mile. This wasn’t causing any issues with my knee and I kept a high cadence and low kick as best as I could.
The weather was great and the atmosphere is always terrific in Brooklyn. Ocean Parkway was now my turf for the next 5 miles. Nothing dramatic happened while pushing my way through towards Coney Island. The terrain is as flat as one could ask for so I kept relaxed and took in nutrition as I approached the aid stations. At mile 9 I took a strawberry powergel.
Upon approaching the last mile or so I pushed to have the quickest split of the day at 7:29. Didn’t break 1:40 but I’m very happy with my finish time of 1:41:42.
I am overly content with my resilience and performance on the day given the fact that I almost thought of the possibility of a DNF at mile 4 with the knee soreness.
For the next 2 weeks before Stockhlom Marathon I will rest up and do some easy recovery workouts for taper.
Thanks for having me. See you next time Brooklyn!
Posted by alpaul on May 23, 2016
First race of the season. All went well. The weather called for rain at the start but was quite perfect for racing.
Race was very comfortable. Normally I would want to be at threshold during a 10K. However leg speed is just absent currently. I have been doing some track work over the last few weeks. But the top end speed I had back when I PRd at this race is simply not achievable currently.
The performance does give me confidence in holding a moderate tempo for my next upcoming race – Brooklyn Half Marathon. I have a month left where I can aim to get some leg power/speed going again. It would be great to go sub 1:45 at Brooklyn.
Scotland and Brooklyn are two of my favorite NYRR races.
Normally Anh and I would indulge in the post race activities of Scotland, photo ops, etc. but we had to hustle back to the car for 9am meter parking. Also our little one was missing us by now.
Finish Time: 46:15 (7:27 / mile)
Posted by alpaul on April 2, 2016
So here’s the problem. I was working with tvOS on a project. The layout was a collection view of cells at the bottom layout and a player view with the current video. This current video’s view was part of a AVPlayerViewController’s view. When the view’s frame transitioned to Fullscreen 1080 x 1920 the default AV controls were absent.
After digging around on the tvOS forum and Stackoverflow I figured the reason was the view was not in focus.
Solution. Make sure if you’re having a similar problem that preferrrdFocusedView should be the Fullscreen view (AVPlayerViewController’s view) in order to get the default controls. Do so by calling setNeedsFocusUpdate and updateFocusIfNeeded.
Posted by alpaul on March 29, 2016
I was super psyched to release my next app to the AppStore. Having recently graduated from the Udacity iOS Nanodegree with my capstone project. I was excited to release it to the AppStore.
Not so fast. RIP Parse! The app was build with Parse. Parse is a BaaS. So the backend of the app is pretty much handled for you. User authentication, user data, object data and so on.
Parse handled the situation as best as they could by giving developers migration assistance and open sourced the Parse Server so other services like Heroku can be used.
For now migrating my capstone project is on hold. Currently I’m leaning towards using Firebase.
One of the drawbacks to using services is the dependency factor. Unfortunately an app will always have such dependencies. The only protection is to put a contingency plan into place for such event.
Posted by alpaul on January 28, 2016
One of the warmest and ideal conditions for the New York City marathon.
No other marathon like New York City. I haven’t done this race in 5 years. I never thought I would have missed it so much like this time around. It is the biggest marathon a runner can be part of in the biggest city in the world. The logistics could be a challenge but that’s part of the journey.
As in 2010 first 14 miles is somewhat deceiving and pacing suffers later as a consequence. Looking back at my pacing data from 2010 it was the same format where it falls by a minute or so in the later half.
Unfortunately I didn’t carry my fuel belt and Maltodextrin. I only had one breakfast as compared to the usual two at this race. Couldn’t have stomached the last one I brought to the race with me. Also did crave a banana which I didn’t have either. I was fortunate to have one during the race by a spectator.
One of the highlights for me was pacing a fellow runner during his meltdown from mile 24-25. This is all part of the marathon spirit. It also helped me rest a bit and finish stronger for the last 1.2 miles.
Did my best to hold pace while anticipating meeting my family at mile 13-14. I took the time to shed myself of my hat and arm warmers. The day was surely warming up.
I had a solid three months training block. I did two 20+ long runs which helped me tremendously. Lack of hill repeats which is essential for this course wasn’t done adequately. Intervals I’m still staying away from to prevent further knee injury.
Had great fun at this years race and really took it all in and enjoyed. Did not meet my A or B goals but I am quite happy with breaking 4 hours. My IRONMAN marathon still holds as my slowest at 4:03.
First Half 1:47:42 (8:13 / mile)
Second Half 2:03:13 (9:24 / mile)
(16 mins difference in last half)
Finish Time: 3:50:55
Overall Pace: 8:49 / mile
Overall Place: 9072
Posted by alpaul on November 1, 2015
All I will say now is I’m so psyched about my performance and how my knees held up for this 18 mile tuneup today.
Posted by alpaul on September 21, 2015
I may actually love entering an event where time factor is not yet determined in training as in this case.
Longest training run so far had been a 14 miler a few weeks ago with Anh, and our toddler, Miles. During that run I did the first 12 miles in my MAF zone – about 9:30s. The last two I did at a tempo, 7:40s. My knees held up pretty good during this run but recovery took a bit longer especially pushing the last two miles. I didn’t run until about four days afterwards due to knee discomfort. At that point I was skeptical about going longer for marathon training. After a full recovery and back to training I kept all runs in MAF.
Last week prior to today’s run I tapered off and only swam and biked as I was striving to be 100% recovered for this race.
The NYRR 18 mile tuneup is three complete loops of Central Park. It starts and ends on the East side close to 102 Transverse. The weather today was ideal for running with a nice breeze in the air. Fall is near! This race is perfect for testing fitness for the upcoming NYC marathon in November.
I positioned myself further back from my assigned corral to prevent getting sucked into bad pacing too early. My goal was to really warm up and see how I felt at mile 3. I went further with this moderate pacing until mile 5. Right at mile 6 of the first loop of Central Park I picked up the pace and settled at 8:30s. I averaged this pace for the remainder of the race.
I just kept my head down while climbing Harlem hill (heartbreak hill). This second loop of the Park (mile 12) surely felt like the climbing Queensboro bridge during NYC marathon.
My lack of volume was evident at mile 16-17 when my ITB and calf muscles began to tighten up. That’s where marathon experience and mental toughness came in. So I dug to where I needed and pushed and adjusted my run form accordingly. I did more flat foot strides as opposed to forefoot strides. This helps with easing my calf muscles.
Mile 17 was just digging deeper and pushing forward. I was also able to push the pace up slightly.
I kept thinking how incredible it would be to see Anh and Miles at the finish. Approaching 102 transverse I kept digging. Last turn to the finish I kept looking at the sidelines for signs of my family. Sure enough they were there to surprise daddy. I was thrilled.
With a performance like today given that I am successful with completing two long runs at or close to 20 miles. I should be able to come home at the finish line for the NYC Marathon in 3:45. Withholding external factors.
I took the following:
– gatorade at stations they were available
– water approx every other station
– 1 powergel at mile 9
– 3 salt tablets every hour
– walked the last four aid stations
– two potty breaks
Official Time: 2:34:36
Pace: 8:36 / mile
Posted by alpaul on September 20, 2015
I have done iOS as hobbyist for over two years and released a few apps in the Apple AppStore. I am also on course completed a Udacity iOS Nanodegree.
But after years of waiting for an opportunity in the iOS space, the day has arrived. I was offered an iOS position at SWARM.
SWARM is a startup involved in the emerging tech space. There innovative apps are built for the customer as well as in-house.
The transition from construction to iOS will be a challenging one. However I have dreamt and kept looking forward to this challenge for a very long time.
It may be a cliche but believe me with patience and hard work comes opportunity.
I will approach working at SWARM with the same tenacity and perseverance that I have given to construction, college, triathlon to name a few. All those had their struggles but being immersed in the experience and learning made be grow and become better.
So today I give myself a pat on the back and say well done Alex. A new journey begins!
Posted by alpaul on August 31, 2015