Finger Lake Triathlon 2017 – Olympic Distance Result

Official Result:

Total Time: 3:34:25
Place: 116 (out of 139)
Place Female Only: 30 (out of 42)
Place Female Age Group 40-45: 4 (out of 6)
Swim: 39:26 (2:38 100s pace)
Bike: 1:43:15 (14.17 mile per hour)
Run: 1:05:48 (10:37 per mile)

Thoughts on the race:

I’m just happy that I finished the race….without resorting to walking. I’ve been slacking with training. 15 lbs more than last year’s race…and let me assure you, it’s not muscle weight gain.

I swam half breaststroke, half freestyle. My priority was conserving energy for later, and I think I made the right decision. Unlike last year, the water wasn’t shallow so we weren’t dolphin diving much.

Last week, when I did a dry run of the entire olympic course, I run out of fuel and had a energy crash. So I decided to refuel twice, one at the beginning of the bike route, and another at the halfway into the bike route. I went with Honey Stinger Waffles, and it worked well. Except that I should have opened the wrapper before getting on the bike. I almost lost balance trying to open that thing.

And the run, I knew I was going to be slower than last year…especially carrying extra 15 lbs & doubling the distance. I’m pretty happy that I was under 11 minutes per mile. And because I refueled properly, I had enough energy to complete the run without exhausting myself.

Next Goals:

Run – under 10 minutes per mile
Bike – over 15 miles per hour
Swim – 100% freestyle
Overall – less than 3:30:00 total time.

I already signed up with a group swimming lessons for the fall. Hopefully, I can finally swim faster with freestyle than breaststroke next year. I’ve been working on my arm during the summer. This fall I will be working on my legs, and the winter lessons will be putting the two together to get the form right.

Next race is Wineglass half marathon in Corning in about 4 weeks. My goal is to run daily, bike twice a week, and swim once a week. I’ll need to start counting calorie intakes to lose some weight so that it will be easy on my knees. I probably have to give up the daily Starbucks drink for a while too (maybe reduce it to every other day).

CLI command cheatsheet – Git

I still can’t memorize these:

## To stage your whole working tree:
git commit -a

## to force commit
git push origin master --force

##clone to a specific folder
git clone destination-folder-name

CSS Trick – anchor position adjustment


  <li><a href="#link1"</li>
  <li><a href="#link2"</li>
<a name="link1" class="anchor"></a>
<p>Some content goes here.</p>
<a name="link2" class="anchor"></a>
<p>Some content goes here.</p>


.anchor {/*anchor link*/
	display: block; 
	position: relative; 
	top: -50px; 
	visibility: hidden;

How to change thumbnail size for Divi’s gallery module

post_thumbnails_divi.php is where Elegant Themes‘ Divi specifies the custom image sizes:

add_theme_support( 'post-thumbnails' );

global $et_theme_image_sizes;

$et_theme_image_sizes = array(
	'400x250'  => 'et-pb-post-main-image',
	'1080x675' => 'et-pb-post-main-image-fullwidth',
	'400x284'   => 'et-pb-portfolio-image',
	'510x382'   => 'et-pb-portfolio-module-image',
	'1080x9999' => 'et-pb-portfolio-image-single',
	'400x516'   => 'et-pb-gallery-module-image-portrait',
	'2880x1800' => 'et-pb-post-main-image-fullwidth-large',

$et_theme_image_sizes = apply_filters( 'et_theme_image_sizes', $et_theme_image_sizes );
$crop = apply_filters( 'et_post_thumbnails_crop', true );

if ( is_array( $et_theme_image_sizes ) ){
	foreach ( $et_theme_image_sizes as $image_size_dimensions => $image_size_name ){
		$dimensions = explode( 'x', $image_size_dimensions );

		if ( in_array( $image_size_name, array( 'et-pb-portfolio-image-single' ) ) )
			$crop = false;

		add_image_size( $image_size_name, $dimensions[0], $dimensions[1], $crop );

		$crop = apply_filters( 'et_post_thumbnails_crop', true );

I wanted to modify the “et-pb-gallery-module-image-portrait” thumbnail size to be 500×500. Since I was using a child theme, my thought was to copy the post_thumbnails_divi.php into the child theme and change the value there.

…Nope, that didn’t work.
Continue reading “How to change thumbnail size for Divi’s gallery module”

Musselman Weekend 2017 – MiniMusselman Result

Official Result:

Total Time: 2:02:52
Swim: 18:38
Bike: 1:03:24
Run: 32:41
Overall Place: 485/612
Female Place: 222/317
Age Group: 31/42


Not too happy about the result: 1) 10 lbs heavier than last year, 2) bottom 1/4 on average compared to right about 1/2 last year 3) has been lazy and not training enough
On the positive side, I did swim in freestyle most of the time (I’d say about 90 %), and I did run all the way, no walking.
Next race is Olympic distance at Finger Lake in Sept…I need to get serious about training…and cut out cheese, bread, and wine.

Rochester Duathlon 2017 – Sprint Distance Result

Official Result:

1:44:23 for 2.5K run + 14 miles bike + 5K run

We didn’t have a tracker on this event, so pretty much the total time is the only data I got. No each segment data or transition time. Also due to the weather the bike route got changed (distance changed).

#4 of 7 (right in the middle) for my age group (female only)
#11 of 20 (again right in the middle) for all female
#32 of 43 for all participant


I think I did good considering…I run all the way (no walk) and I biked faster than my commute mode most of the time.

Need to cut out binge eating before the race…that is don’t eat 4.5 donuts 2 days before the race thinking that’s the only unhealthy food you are gonna eat and you can surely burn that off. Then a day before the race you end up eating a BOX of ice cream sandwiches ( = 12 sandwiches) because…I don’t know because there is a box of them in the freezer. Then you realize the food at the race looks awesome and you can’t stop yourself after the race….because you’re hungry.

I think I gained 5 pounds by doing the race.

Finger Lake Triathlon 2016 – Sprint Distance Result

Official Result:

Total Time: 1:45:56
Place: 207 (out of 353)
Place Female Only: 70 (out of 167)
Place Female Age Group 40-45: 6 (out of 17)
Swim: 16:06 (2:09 100s pace)
Bike: 54:34 (15.28 mile per hour)
Run: 30:20 (9:47 per mile)

Thoughts on the race:

Didn’t have to swim really…99% of the time I was doing dolphin dive because the water was shallow. Nice water temp at 71F. Waiting for the race was the worst part. The wind was pretty strong during the bike ride but I was expecting that…so no surprise there. The cool temp made the running much easier than the practice on Thursday…I think that’s the reason I was able to run under 10 min per mile (for the first time ever!). Need to get myself a pump. My tire was almost flat in the morning….luckily I was able to borrow one from a guy nearby. Need to figure out the best place to put the bike number…I got a bunch of paper cuts on my legs. That was annoying.

Next Goals:

Run – under 9 minutes per mile (next month)
Bike – over 16 miles per hour (next month)
Swim – 100% freestyle (that’s for next year)
Overall – less than 1:40:00 total time, would like to be top half for overall place.
I need to take swimming lessons over the winter. I’d like to squeeze a couple of dives too if I can (I need to find away to pay for all that)

Sodus Point Triathlon 2016 – Sprint Distance Result

Official Result:

Total Time : 2:00:06.92
Overall Place: 153 (out of 172)
All Female: 61 out of (77)
Swim – 23:15 (1.2 mph)
Bike – 1:01:32 (12.8 mph)
Run – 32: 02 (10:20 per mile)


1) one-piece triathlon suit – hard to go to bathroom. Consider switching to a two-piece
2) good idea to have two sets of replacement tubes and CO2 bottles instead of just one
3) need to focus on race especially when riding a bicycle instead of getting distracted by pretty sceneries and farm animals.
4) do not plan anything after the race…you need a serious nap afterward.
5) if Darth Vader carrying an American flag with a six flag pole and a gas mask on can finish the race, so can you.
6) Bring your own stash of donuts. Healthy events like these provide cut vegetables and fruits, small cookies. My craving for post-race is donuts not fruits.

Keeping cell phone bill under $20

Republic Wireless is introducing SIM based smartphones this months which allows their customers, for the first time, BYOD.

But with this new line of smartphone offering, Republic Wireless also came up with yet another new billing plan that increased the lowest plan from $10 to $15 (With cell network from $20 + unused data refund to $20 with no refund). You can stay on the old plan as long as your device is compatible with the old plan, that is non SIM based smartphones that were sold by Republic Wireless.  But if you are thinking of getting a SIM based smartphone, like I am, staying with the old plan isn’t an option.

So I’ve been researching various phone options as well as alternative service providers. After a bunch of goole searching I narrow them down to:

Device: Moto G 4th Generation from Amazon Prime Exclusive Phone ($140)
Service Provider: RingPlus
Continue reading “Keeping cell phone bill under $20”

When to upgrade T2 instances on AWS – CPU usage

AWS currently offers five levels of T2, Burstable Performance, instances on EC2. T2 instances “provide a base level of CPU performance with the ability to burst above the baseline.”

What’s not obvious from the general documentation page is that what’s the easy indicator to determine if you need to upgrade your T2 instance to the next level.

T2 Instance CPU Baseline Performance

What I found to be the best/quickest way to figure out when to upgrade T2 instance is to look at CPU Utilization (Percent) chart on the monitoring section for the instance. You need to compare the average usage of the CPU and the baseline of the T2 instance (above the baseline means the server is in the “burst” mode which uses the extra CPU credits).

Here are the baseline of each T2 instances:

Instance TypeCPU Baseline Performance

CPU Credit Usage and CPU Credit Balance

CPU credit usage chart and CPU credit balance chart are also good indicators. However, when the credit usage is too rapid, you might not be able to catch the issue in time to resolve the performance issue. The decrease in the credit balance is recorded only AFTER the server is performing beyond baseline performance. In other words, it’s not a good PREVENTATIVE indicator.

But Beware…

This is a simple way to measure the performance of the server reflected on CPU usage. There are other resources that causing the issue on your server(s). The most common issue I experience is the depletion of available memory. This happens if I am running a multiple servers (such as LAMP) under one instance. While CPU usage is within a normal range, not too uncommon to run out of available memory and your application stop running properly. I find that t2.nano instance and t2.micro instance aren’t sufficient to run a LAMP in most cases.

Resources: New Low Cost EC2 Instances with Burstable Performance
Resources: EC2 Update – T2.Nano Instances Now Available
Resources: Burstable Performance Instances