My ankle is pretty much healed at this point. There are still some mornings especially after a rain or high humidity, I feel a slight tightness in my ankle. I have been playing volleyball for the last 4-5 weeks without much problem. At first, it was a little sore but as I warmed up the soreness went away. The last couple games have had no problems.
Sometime around the second to third week, my mom had me put on some hot/cold patches. I could not tell if it helped or not. It didn't seem to make it any worse at least. Since I had only a handful of sprained ankles, I cannot recall a lot of details. I think the last sprain was about 20 years ago. I only remember it lasting a couple weeks. So this time took much longer but I think it was also much worse.
Tuesday, October 17, 2017
Tuesday, August 29, 2017
Sprained ankle - Day 13
Sprained my ankle almost 2 weeks ago while playing volleyball. I was in enough pain to not be able to move my foot, but eventually dragged myself to the side. Our team had a double-header so fortunately I had some time to rest. After 30 minutes of icing and lying on the ground with my foot on a medicine ball, I was able to stand up but could barely put any weight on the foot. Another 30 minutes and I was able to drive. I was able to waddle the next day, using the wall to climb up or down the stairs. A week later and I was able to hide my limp with slight pain. I broke in my new bike yesterday with a discomfort in my foot only when climbing the stairs. I didn't feel any discomfort while biking for a couple hours (with several breaks). The next day, my foot was sore even when walking so maybe biking may not have been wise.
Workout-wise, I have been pretty bad with my regular workouts for the last month. I did at least one a week. My diet was slightly better than usual. Overall, I've lost about 1-2 pounds over two weeks but probably my muscle weight as I have not done any workouts the last couple weeks.
Workout-wise, I have been pretty bad with my regular workouts for the last month. I did at least one a week. My diet was slightly better than usual. Overall, I've lost about 1-2 pounds over two weeks but probably my muscle weight as I have not done any workouts the last couple weeks.
Labels:
exercising,
health,
injury
Tuesday, August 8, 2017
Disable pop-up "This file has been modified outside of the source editor" VS2013
Disable the pop-up to reload a file in Visual Studio 2013:
This file has been modified outside of the source editor.
Visual Studio 2013
Tools > Environment > Documents > Detect when file is changed outside the environment
This occurs because the employer just implemented a file syncing system.
Labels:
software
Friday, July 7, 2017
Real Appeal Day 1 (Workout)
There was some time off from my DVD workouts primarily because my laptop could no longer play videos without shutting down from overheating. I finally pulled the trigger and bought a blue-ray player.
The first thing I ran was the Real Appeal workout DVD. The workout is of course much easier than Insanity but was a good workout to do during lunch so that I'm not too sweaty for work. It was way less impact on the joints. I do not know if this picks up later.
I joined Real Appeal about 5-6 weeks ago. This is covered by the company I work for when you miss the biometrics. The program is pretty good. The coach is very motivating. It is geared more towards people who are more inexperienced with exercising and dieting. It does have a wealth of information. For me, I knew most of it. I just need to practice it.
Labels:
exercising,
health
Thursday, June 15, 2017
My struggles with overeating
For those who is reading my blog for the first time, I do exercise quite regularly but still cannot lose weight or yo-yo when I lose significant amount. I am not fond of sharing my personal health experiences, but I do wish to help others and I found it helpful to know that other people have struggled and overcame their struggles.
I say that I exercise regularly, but I do go in slumps. In the big picture, I typically do the worst when I am at a new job because I overwork, eat poorly, eat more frequently, don't exercise, and sleep less. I get too tunnel-visioned in learning as much as I can in as short period of time. I do this rather successfully at the expense of my health.
I also do very, very well when I do not work. I lost 30 pounds in a summer when I was volunteering. I lose a lot of weight when I am between jobs. Basically, I do well when I just focus my attention at one particular lifestyle.
Lately, I have been doing better at balancing these two. Unfortunately, I still have a lot of bad habits. Eat a lot and frequently. I know it, but it is still hard to avoid it. No matter how much I tell myself... I could be telling myself the entire day that I should stop late night eating, I will still waver hard and indulge..... even when I wasn't even hungry.
I do not know why. But once it is late, I just want to eat. By this point, I have already eaten the usual 3 meals. I am even worse when I actually feel hungry. This has a multi-part problem. First, I don't cook frequently so I cook an entire week's worth of food over the weekend. Second, I do not like to waste food (in a broader view, I do not like wasting in general). Third, when I do something I go all the way. Fourth through to infinite, I am pretty bad to almost all bad eating habits except for sweets.
I have never been much for candy, cakes, ice cream... unless they are the only available edible foods which I practice eat them more like a meal than a snack. I also do not have a problem with snacking, but I like snack foods. So if I am hungry, I can down a bag of potato chips. In between meals, I have no problems avoiding it. Once I am hungry and I eat one chip... the bag will basically be consumed within minutes.
So if there is food around, I will want to "finish" it even if I am full. I don't like leftovers, so I will eat it all. Even if I am stuffed, I will finish off the food. Because I don't buy candy or snacks, I am at least able to avoid very unhealthy foods. When I host parties and have leftover snacks... sadly I will eat them. To avoid this, I have been giving them away as guests leave or bring them to the office.
But easily my one biggest issue is late night eating...
I eat an extra late night meal. This is so hard and no amount of logic can explain why I still want to eat... except out of habit. I will look into every nook and cranny for some resemblance of food that needs to be consumed and make-up some excuse that it needs to be done before it expires. Even to this day, I am staring at the food and practically yelling at myself (or the food) that I should not eat... I will not eat it.... over and over.
I do not know what triggered the change, but in the last week, I have actually been able to put the food back into the fridge and just not eat it. And like that, I have been able to lose 1-2 pounds a day. It does not even matter if I ate unhealthy (fried chicken, fries, etc.). I am not saying that I should be eating it, but this just shows how unhealthy late night eating has been for me. I am already down 8 pounds in the last week. (Just for some reference to those who is trying to lose weight, I should weigh around 170 and currently 250 at the start of losing... so don't be thinking you'll lose a pound if you are already at average weight.)
Even now as I write this post, I still have the urge. It has become literally to the point of my left arm pulling my right arm away. So, I really hope anyone who is trying to lose weight that you are not alone in your struggle. It is hard... and sometimes there really is no good explanation except purely will-power to make a change in one's life. So, keep fighting even if you fail.
Labels:
cons and pros,
cooking,
diet,
exercising,
free will,
honesty,
hope,
howto,
performance,
self improvement,
self reflection
Saturday, June 10, 2017
Javascript: Useful script to enable scrollbars
document.documentElement.style.overflow = "auto";
Edit:
Sorry, I posted this primarily for myself. Because for the life of me, I cannot remember this command line.
Edit:
Sorry, I posted this primarily for myself. Because for the life of me, I cannot remember this command line.
Labels:
javascript,
programming,
workaround
Monday, June 5, 2017
Failed 4 mile race
How does one fail a race? By being late to the race. The weather was terrible so traffic was slower than normal, fortunately the weather did not reach the race destination. Then I couldn't find parking, spent 30+ minutes. I ended up 10 minutes late.
I ended up cutting across the park and finish the race without an official time. Although I felt lighter on my feet, I felt that my endurance was actually worse. I have not trained much in long distance, usually running at most 20 minutes. The only extended exercise is the Insanity workouts which is around 40 minutes. I guess that is not a good substitute... also does not help that I cannot keep up the entire time either.
With all that said, I played volleyball today and did surprisingly well. I wonder if I am now able to jump higher which is helping me hit better.
So although I feel better, I think my endurance has dropped a bit. I'll have to experiment this further.
I ended up cutting across the park and finish the race without an official time. Although I felt lighter on my feet, I felt that my endurance was actually worse. I have not trained much in long distance, usually running at most 20 minutes. The only extended exercise is the Insanity workouts which is around 40 minutes. I guess that is not a good substitute... also does not help that I cannot keep up the entire time either.
With all that said, I played volleyball today and did surprisingly well. I wonder if I am now able to jump higher which is helping me hit better.
So although I feel better, I think my endurance has dropped a bit. I'll have to experiment this further.
Labels:
exercising,
health
Saturday, June 3, 2017
Exercise Break - 20170602
Took a break from any heavy workouts yesterday and today in preparation for a 4-mile race tomorrow. I'm targeting to complete under an hour. Given my 3k of 35 minutes, I think I should be around 51 minutes.
Labels:
exercising
Thursday, June 1, 2017
Shaun T Insanity Day 9 - Personal Experience
I think I may have messed up the day numbers. At this point, I'm just going to number the days to be incremental by the days I work out instead of the DVD as I have noticed that I may mix around the exercises depending on how I feel. For example, last night I worked on the second DVD, Plyometric Cardio Circuit.
Since I have completed the whole box set (minus the one DVD that didn't work for me), it is time to start over again. I skipped the first DVD (Dig Deeper & Fit Test) as I just didn't feel to be in the mood to count as it was late.
This time around with Plyometric Cardio Circuit, I definitely noticed that I am do a little more and more flexible on the stretches.My weight is around or maybe slightly lighter than the prior time. (I really should record these things).
I still struggled with the pushups and running pushups, but I was able to do a couple sets (which I believe I skipped completely last time). Again I just went into the half-plank (plan from my knees instead of my feet). My arms are still not strong enough to maintain proper position. They were still tired just from the planks. Mountain climbing is still a struggle but did these much slower and without the hop.
Still sweated a ton, felt good prior and after... this is probably my favorite workout of the whole set.
Since I have completed the whole box set (minus the one DVD that didn't work for me), it is time to start over again. I skipped the first DVD (Dig Deeper & Fit Test) as I just didn't feel to be in the mood to count as it was late.
This time around with Plyometric Cardio Circuit, I definitely noticed that I am do a little more and more flexible on the stretches.My weight is around or maybe slightly lighter than the prior time. (I really should record these things).
I still struggled with the pushups and running pushups, but I was able to do a couple sets (which I believe I skipped completely last time). Again I just went into the half-plank (plan from my knees instead of my feet). My arms are still not strong enough to maintain proper position. They were still tired just from the planks. Mountain climbing is still a struggle but did these much slower and without the hop.
Still sweated a ton, felt good prior and after... this is probably my favorite workout of the whole set.
Reference
http://douglastclee.blogspot.com/2017/05/shaun-t-insanity-day-1-and-day-2.html
Labels:
exercising,
experience,
health
Sunday, May 28, 2017
Human Decency - Mr. Rogers - Senate Subcommittee (1969)
Still relevant today...
https://www.youtube.com/watch?v=fKy7ljRr0AA
http://www.americanrhetoric.com/speeches/fredrogerssenatetestimonypbs.htm
Senator Pastore: Alright Rogers, you've got the floor.
Mr. Rogers: Senator Pastore, this is a philosophical statement and would take about ten minutes to read, so I'll not do that. One of the first things that a child learns in a healthy family is trust, and I trust what you have said that you will read this. It's very important to me. I care deeply about children.
Senator Pastore: Will it make you happy if you read it?
Mr. Rogers: I'd just like to talk about it, if it's alright. My first children's program was on WQED fifteen years ago, and its budget was $30. Now, with the help of the Sears-Roebuck Foundation and National Educational Television, as well as all of the affiliated stations -- each station pays to show our program. It's a unique kind of funding in educational television. With this help, now our program has a budget of $6000. It may sound like quite a difference, but $6000 pays for less than two minutes of cartoons. Two minutes of animated, what I sometimes say, bombardment. I'm very much concerned, as I know you are, about what's being delivered to our children in this country. And I've worked in the field of child development for six years now, trying to understand the inner needs of children. We deal with such things as -- as the inner drama of childhood. We don't have to bop somebody over the head to...make drama on the screen. We deal with such things as getting a haircut, or the feelings about brothers and sisters, and the kind of anger that arises in simple family situations. And we speak to it constructively.
Senator Pastore: How long of a program is it?
Mr. Rogers: It's a half hour every day. Most channels schedule it in the noontime as well as in the evening. WETA here has scheduled it in the late afternoon.
Senator Pastore: Could we get a copy of this so that we can see it? Maybe not today, but I'd like to see the program.
Mr. Rogers: I'd like very much for you to see it.
Senator Pastore: I'd like to see the program itself, or any one of them.
Mr. Rogers: We made a hundred programs for EEN, the Eastern Educational Network, and then when the money ran out, people in Boston and Pittsburgh and Chicago all came to the fore and said we've got to have more of this neighborhood expression of care. And this is what -- This is what I give. I give an expression of care every day to each child, to help him realize that he is unique. I end the program by saying, "You've made this day a special day, by just your being you. There's no person in the whole world like you, and I like you, just the way you are." And I feel that if we in public television can only make it clear that feelings are mentionable and manageable, we will have done a great service for mental health. I think that it's much more dramatic that two men could be working out their feelings of anger -- much more dramatic than showing something of gunfire. I'm constantly concerned about what our children are seeing, and for 15 years I have tried in this country and Canada, to present what I feel is a meaningful expression of care.
Senator Pastore: Do you narrate it?
Mr. Rogers: I'm the host, yes. And I do all the puppets and I write all the music, and I write all the scripts --
Senator Pastore: Well, I'm supposed to be a pretty tough guy, and this is the first time I've had goose bumps for the last two days.
Mr. Rogers: Well, I'm grateful, not only for your goose bumps, but for your interest in -- in our kind of communication. Could I tell you the words of one of the songs, which I feel is very important?
Senator Pastore: Yes.
Mr. Rogers: This has to do with that good feeling of control which I feel that children need to know is there. And it starts out, "What do you do with the mad that you feel?" And that first line came straight from a child. I work with children doing puppets in -- in very personal communication with small groups:
Senator Pastore: I think it's wonderful. I think it's wonderful. Looks like you just earned the 20 million dollars.
https://www.youtube.com/watch?v=fKy7ljRr0AA
http://www.americanrhetoric.com/speeches/fredrogerssenatetestimonypbs.htm
Senator Pastore: Alright Rogers, you've got the floor.
Mr. Rogers: Senator Pastore, this is a philosophical statement and would take about ten minutes to read, so I'll not do that. One of the first things that a child learns in a healthy family is trust, and I trust what you have said that you will read this. It's very important to me. I care deeply about children.
Senator Pastore: Will it make you happy if you read it?
Mr. Rogers: I'd just like to talk about it, if it's alright. My first children's program was on WQED fifteen years ago, and its budget was $30. Now, with the help of the Sears-Roebuck Foundation and National Educational Television, as well as all of the affiliated stations -- each station pays to show our program. It's a unique kind of funding in educational television. With this help, now our program has a budget of $6000. It may sound like quite a difference, but $6000 pays for less than two minutes of cartoons. Two minutes of animated, what I sometimes say, bombardment. I'm very much concerned, as I know you are, about what's being delivered to our children in this country. And I've worked in the field of child development for six years now, trying to understand the inner needs of children. We deal with such things as -- as the inner drama of childhood. We don't have to bop somebody over the head to...make drama on the screen. We deal with such things as getting a haircut, or the feelings about brothers and sisters, and the kind of anger that arises in simple family situations. And we speak to it constructively.
Senator Pastore: How long of a program is it?
Mr. Rogers: It's a half hour every day. Most channels schedule it in the noontime as well as in the evening. WETA here has scheduled it in the late afternoon.
Senator Pastore: Could we get a copy of this so that we can see it? Maybe not today, but I'd like to see the program.
Mr. Rogers: I'd like very much for you to see it.
Senator Pastore: I'd like to see the program itself, or any one of them.
Mr. Rogers: We made a hundred programs for EEN, the Eastern Educational Network, and then when the money ran out, people in Boston and Pittsburgh and Chicago all came to the fore and said we've got to have more of this neighborhood expression of care. And this is what -- This is what I give. I give an expression of care every day to each child, to help him realize that he is unique. I end the program by saying, "You've made this day a special day, by just your being you. There's no person in the whole world like you, and I like you, just the way you are." And I feel that if we in public television can only make it clear that feelings are mentionable and manageable, we will have done a great service for mental health. I think that it's much more dramatic that two men could be working out their feelings of anger -- much more dramatic than showing something of gunfire. I'm constantly concerned about what our children are seeing, and for 15 years I have tried in this country and Canada, to present what I feel is a meaningful expression of care.
Senator Pastore: Do you narrate it?
Mr. Rogers: I'm the host, yes. And I do all the puppets and I write all the music, and I write all the scripts --
Senator Pastore: Well, I'm supposed to be a pretty tough guy, and this is the first time I've had goose bumps for the last two days.
Mr. Rogers: Well, I'm grateful, not only for your goose bumps, but for your interest in -- in our kind of communication. Could I tell you the words of one of the songs, which I feel is very important?
Senator Pastore: Yes.
Mr. Rogers: This has to do with that good feeling of control which I feel that children need to know is there. And it starts out, "What do you do with the mad that you feel?" And that first line came straight from a child. I work with children doing puppets in -- in very personal communication with small groups:
What do you do with the mad that you feel? When you feel so mad you could bite. When the whole wide world seems oh so wrong, and nothing you do seems very right. What do you do? Do you punch a bag? Do you pound some clay or some dough? Do you round up friends for a game of tag or see how fast you go? It's great to be able to stop when you've planned the thing that's wrong. And be able to do something else instead -- and think this song --
'I can stop when I want to. Can stop when I wish. Can stop, stop, stop anytime....And what a good feeling to feel like this! And know that the feeling is really mine. Know that there's something deep inside that helps us become what we can. For a girl can be someday a lady, and a boy can be someday a man.'
Senator Pastore: I think it's wonderful. I think it's wonderful. Looks like you just earned the 20 million dollars.
Labels:
careerbuilder,
character,
cons and pros,
don't know what to do,
education,
honesty,
hope,
howto,
HR,
instruction,
life,
logic,
meta,
performance,
philosophy,
teaching,
TV
Saturday, May 27, 2017
Shaun T Insanity Days 6-8 - Personal Experience
Day 6 - Max Interval Circuit & Fit Test DVD was broken so I was unable to play this, so it was skipped.
Day 7 - Max Interval Plyo
This was by far the most insane workout. I tried to keep up as best as I can but made sure I was doing something when I couldn't. Laptop overheated in the last 10 minutes so didn't even get to that part. I did some jogging then cool down.
Day 8 - Max Cardio Conditioning
This was intense. I was able to do most of the workouts except the pushups where you kick your feet from side to side. By "do" I mean in some shape or form on the border of cheating but keeping my heart rate up.
Summary
I still feel exhausted and always end raining sweat. No injuries yet, but still some pain in the middle of my right foot when I do certain exercises too long which I just then pace or jog in place. I did some jogging earlier in the day and my foot is feeling much better in general, so I'm guessing that it is just weak from my weight. As for weight, I am now a pound under (on the low range) of when I started and around the same weight on the high end.
Just two more exercises before restarting for week 2.
Day 7 - Max Interval Plyo
This was by far the most insane workout. I tried to keep up as best as I can but made sure I was doing something when I couldn't. Laptop overheated in the last 10 minutes so didn't even get to that part. I did some jogging then cool down.
Day 8 - Max Cardio Conditioning
This was intense. I was able to do most of the workouts except the pushups where you kick your feet from side to side. By "do" I mean in some shape or form on the border of cheating but keeping my heart rate up.
Summary
I still feel exhausted and always end raining sweat. No injuries yet, but still some pain in the middle of my right foot when I do certain exercises too long which I just then pace or jog in place. I did some jogging earlier in the day and my foot is feeling much better in general, so I'm guessing that it is just weak from my weight. As for weight, I am now a pound under (on the low range) of when I started and around the same weight on the high end.
Just two more exercises before restarting for week 2.
Labels:
exercising,
experience,
health
Tuesday, May 23, 2017
Microsoft Visual Studio Friendly Name and Version Number - VS 6-15 / 1998-2017
Because I cannot remember these when I have to uninstall old apps for compliance:
Version | Friendly Name |
6.0 | Visual Studio 6.0 (1998) |
7.0 | Visual Studio .NET (2002) |
7.1 | Visual Studio .NET 2003 |
8 | Visual Studio 2005 |
9 | Visual Studio 2008 |
10 | Visual Studio 2010 |
11 | Visual Studio 2012 |
12 | Visual Studio 2013 |
14 | Visual Studio 2015 |
15 | Visual Studio 2017 |
Labels:
version control,
Visual Studio
Monday, May 22, 2017
Shaun T Insanity Day 5 (Pure Cardio) - Personal Experience
I skipped a day mostly due to not having time, and I was definitely up for it if I was home. Instead I played volleyball then did a lot of walking (totaling 24467 steps for the day according to my FitBit). And that was including the time where I sat most of the night hanging out with my cousins.
Anyways, I got to it today and is by far the most grueling in terms of keeping up. I have a lot of catching up for this video. I was unable to do any of the burpees. There were quite a few that I could not keep up but kept some resemblance of motion.
Otherwise, the workout felt great. I was exhausted and can feel my muscles still burning. I can even feel my triceps as I type. My recovery is still improving.
Weight-wise... I am net +1 pound. I was a net +3 pounds a couple days ago. Not too discouraging as I usually gain weight as I start a new intensive workout. A little sad that I passed 250 pounds. But, I think I am starting to veer in the right track.
Labels:
exercising,
experience,
health
Saturday, May 20, 2017
Shaun T Insanity Day 4 - Personal Experience
Cardio Recovery - sounds easy but I still got a good sweat. I was able to complete the holds but unable to complete the pulses. The parts where we lift the knees a couple inches above the ground, I was unable to do. I would start lifting my knee high as I pulsed. I ended up just keeping my knee on the ground which was still a good workout. I have a lot of catching up for this part in the future.
Overall, my body is starting to feel a bit better since I started with Day 1 about 9 days ago. I have done other activities during this timeframe like walking, volleyball, and the driving range. I have not been following the nutrition guide but am eating healthier. I still need to watch the quantity of food that I eat even though it may be healthier. I still struggle avoiding eating late night, but have been doing better lately.
Although I couldn't complete some of the workouts, I don't feel terribly exhausted. I think I may go for an easy jog later today.
Overall, my body is starting to feel a bit better since I started with Day 1 about 9 days ago. I have done other activities during this timeframe like walking, volleyball, and the driving range. I have not been following the nutrition guide but am eating healthier. I still need to watch the quantity of food that I eat even though it may be healthier. I still struggle avoiding eating late night, but have been doing better lately.
Although I couldn't complete some of the workouts, I don't feel terribly exhausted. I think I may go for an easy jog later today.
Labels:
exercising,
experience,
health
Interview: Are you more of a hunter or a gatherer?
Internal thoughts
My initial thought is neither as the concept seems a bit archaic. But to go with the flow, I think both. The natural answer could also to be a leader for managers. Although it may seem like thinking outside the box, it does not really answer the question. What are the questions?- Can you think outside the box (choose an option not provided)?
- Are you proactive (hunter) or passive (gatherer)?
- More go with the flow (hunter) or need time to analyze the problem (gatherer)
- More vulgar (hunter) or civilized (gatherer)?
- More risk tolerant (hunter) or risk averse (gatherer)?
Of course, some of the descriptions could be flipped but I think this is a decent guide. So thinking through this, I want to tell a story on how I can attack a problem. And the problems that I enjoy solving are operational problems like how we work as a team and making processes more efficient. This target is more mobile thus making it seem more like a hunter.
My answer
I feel that I am better suited as a hunter. To be more specific, I think I am more of a sniper hunter. The skillsets of a hunter requires the ability to analyze a moving target. While a gatherer would require the ability to analyze more static variables which seem more suited for research or academic-type people, or collect details and facts before coming up with a solution. I am more natural at following moving targets.I am not the type to just jump in and battle it out which would seem more like an in-fighting type hunter. Nor am I the type to just try everything and just hope something hits or sticks... something like a shotgun.
My preference is definitely more precise and surgical like a sniper. Not one that is able to hit the target, but one where it would not hurt the ecosystem. For example, my MO is typically to meet with the subject matter experts to learn their pros and cons. I attack the problem by slowly adjusting my processes to align with my findings. Not to just adjust to appease them, but to nudge them in the direction I would like them to go. In some cases, people won't even realize that they have changed for the better.
So on the scale, my strongest value from experience would be in the middle of hunter and gatherer but leaning towards the hunter category. My other value is that my skills allow me to be anywhere on the spectrum. If I have to go in fighting, I could hold my own. Or if I have to do a 500-page thesis, I can also do that.
Afterthought
It is possible that a scenario could be created to suit a gatherer. Given the limited amount of time to think for an interview, I prefer to choose the path that seems easiest to explain to someone which typically would be the natural way that I associate two different scenarios. This may well be easier as a gatherer for someone who is more attuned to that line of thinking.
The important thing is to stay focused on what you want to demonstrate to your interviewer. Sometimes it may be figuring out what they are asking, but in this case I think the situation is to create an open-ended question to give some leeway to tell a story.
Also, I think reading the comments on glassdoor helps. Pretend that you are an interviewer and you asked this question to 20-30 people, and those are the answers that you got. Some seem interesting at first, but then you realize a lot of people respond in similar fashion. Remember that one response to one question does not define you. There is nothing wrong if your answer may be similar to another, just know that you'll have to excel elsewhere to make a difference.
Labels:
answer,
comparison,
interview,
question
Shaun T Insanity Day 3 - My personal experience
Took a day off from Day 2... my body was quite sore.
Day 3 seemed a bit easier except it had more pushup-like exercises which I do not have any arm strength to do the plank for that period of time much less to do pushups or running pushups. Instead I just did the simpler pushups (using my knees) and waddled side-to-side for the running pushups. This kept me tired and heart rate up.
I still had to rest a bit by the second half, mainly due to pain in the middle of my right foot. This typically occurs when I put too much stress on the foot. I have also noticed that there are a few exercises where I cannot put my foot flat on the ground but balanced on the balls of my feet. I'm not sure if this partial cause.
At the end, I was still exhausted. My recovery seems a bit better today. I can still feel that my arm muscles are sore.
Day 3 seemed a bit easier except it had more pushup-like exercises which I do not have any arm strength to do the plank for that period of time much less to do pushups or running pushups. Instead I just did the simpler pushups (using my knees) and waddled side-to-side for the running pushups. This kept me tired and heart rate up.
I still had to rest a bit by the second half, mainly due to pain in the middle of my right foot. This typically occurs when I put too much stress on the foot. I have also noticed that there are a few exercises where I cannot put my foot flat on the ground but balanced on the balls of my feet. I'm not sure if this partial cause.
At the end, I was still exhausted. My recovery seems a bit better today. I can still feel that my arm muscles are sore.
Labels:
exercising,
experience,
health
Thursday, May 18, 2017
Shaun T Insanity Day 1 and Day 2 - My personal exerperience
I am an extremely-overweight, athletic person... meaning I am about 80 pounds overweight but can still a wide range of sports on a competitive level with average citizens minus the endurance.
I did Day 1 almost a week ago. If it weren't for my laptop overheating ten minutes of the twenty minute video, I probably would have died. I was so out of breath. They were doing about 90-100 reps while I was struggling to do 1 properly and managed maybe started at 20 which soon dropped to 5-10. But at the end of the day, my body felt good. My glutes were so tight, I had trouble sitting and getting up for the next 3 days.
I just finished Day 2. I managed to complete the whole 40 some minutes. I was able to manage a reasonable pace for about 15-20 minutes which felt like an hour. Near the end with the push ups and plank-position exercises, I had trouble following as I had to face down which then I couldn't look up to see what I was supposed to do... but who am I kidding... I was surprised I wasn't lying on the ground. Occasionally, I just did some of the run-in-place exercises to watch what they were doing while keeping my heart-rate up. Although my muscles weren't too sore, after a few minutes of rest, I started to feel some of the workout sores. We'll see how I'll manage any non-horizontal positions tomorrow.
For a run down of the exercises, this blog (last update in Dec 2014) does a great job with a fun-style read. https://optforinsanity.wordpress.com/2013/10/22/day-2-plyometric-cardio-circuit/
I did Day 1 almost a week ago. If it weren't for my laptop overheating ten minutes of the twenty minute video, I probably would have died. I was so out of breath. They were doing about 90-100 reps while I was struggling to do 1 properly and managed maybe started at 20 which soon dropped to 5-10. But at the end of the day, my body felt good. My glutes were so tight, I had trouble sitting and getting up for the next 3 days.
I just finished Day 2. I managed to complete the whole 40 some minutes. I was able to manage a reasonable pace for about 15-20 minutes which felt like an hour. Near the end with the push ups and plank-position exercises, I had trouble following as I had to face down which then I couldn't look up to see what I was supposed to do... but who am I kidding... I was surprised I wasn't lying on the ground. Occasionally, I just did some of the run-in-place exercises to watch what they were doing while keeping my heart-rate up. Although my muscles weren't too sore, after a few minutes of rest, I started to feel some of the workout sores. We'll see how I'll manage any non-horizontal positions tomorrow.
For a run down of the exercises, this blog (last update in Dec 2014) does a great job with a fun-style read. https://optforinsanity.wordpress.com/2013/10/22/day-2-plyometric-cardio-circuit/
Labels:
exercising,
experience,
health
Tuesday, May 16, 2017
GridView with multiple columns with the same name
Microsoft ASP.NET 4.5
Visual Studio 2013
Scenario: Joining to tables that have the same column names but different uses without using alias (because sometimes you don't have access to the data or query).
Solution: The first column will be the original column name. Each additional column will have an integer counter starting at 1 appended to the end of the column name.
Exampe: If the column name is XXXXXX, then the first column will be XXXXXX, the second column will be XXXXXX1, then XXXXXX2, etc, etc.
Visual Studio 2013
Scenario: Joining to tables that have the same column names but different uses without using alias (because sometimes you don't have access to the data or query).
Solution: The first column will be the original column name. Each additional column will have an integer counter starting at 1 appended to the end of the column name.
Exampe: If the column name is XXXXXX, then the first column will be XXXXXX, the second column will be XXXXXX1, then XXXXXX2, etc, etc.
Labels:
C#,
data,
MS SQL,
programming,
Visual Studio
Tuesday, April 11, 2017
Buggish: "We found your Charge HR" but still get error "Bluetooth issues" on Droid Turbo
Rebooted phone several times, restarted FitBit app several times, finally tried rebooting the FitBit itself (hold down button for several seconds while plugged in) which seems to finally work.
Symptom: FitBit no longer synced with phone. Thought maybe I had to re-pair the device, I removed the device. When re-pairing, I continually received the error "Bluetooth issues" "if you see this message for the first time..." Occasionally, I was able to get the app to show "We found your Charge HR" but would still popup the Bluetooth issues error box.
Solution: Called tech support, explained the situation, and they were able to cover a replacement under the warranty. Which was really nice since I didn't think there was warranty. The experience was positive although I really wanted to know what was wrong with my current one.
So far, I am not exactly sure what the fix is as I cannot replicate the issue. It appears restarting the Fitbit fixes this problem. But may also include restarting phone and app. Restarting app fixed the problem of pairing as it appears to only work on the initial attempt. If I retry then the FitBit appears to no longer attempt to pair even though it says it is searching. The FitBit is definitely in some sort of off-mode during this time as the steps are not registered either. That is about all the information I think is relevant.
Symptom: FitBit no longer synced with phone. Thought maybe I had to re-pair the device, I removed the device. When re-pairing, I continually received the error "Bluetooth issues" "if you see this message for the first time..." Occasionally, I was able to get the app to show "We found your Charge HR" but would still popup the Bluetooth issues error box.
Solution: Called tech support, explained the situation, and they were able to cover a replacement under the warranty. Which was really nice since I didn't think there was warranty. The experience was positive although I really wanted to know what was wrong with my current one.
So far, I am not exactly sure what the fix is as I cannot replicate the issue. It appears restarting the Fitbit fixes this problem. But may also include restarting phone and app. Restarting app fixed the problem of pairing as it appears to only work on the initial attempt. If I retry then the FitBit appears to no longer attempt to pair even though it says it is searching. The FitBit is definitely in some sort of off-mode during this time as the steps are not registered either. That is about all the information I think is relevant.
Labels:
buggish,
FitBit,
mobile app,
troubleshooting
Monday, March 27, 2017
SharePoint 2013 DateTime and DateTime format sample
SharePoint 2013 DateTime and DateTime format sample:
2017-03-23
This was surprisingly hard to find for me.
This was surprisingly hard to find for me.
Labels:
data,
Microsoft SharePoint,
programming
Tuesday, March 14, 2017
Buggish: MySql.Data, unable to compile
Error 1 Could not load file or assembly 'MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)My Solution: Use the stable version in Visual Studio 2013 NuGet Package.
My steps I think I've taken:
1. Used NuGet Package to install latest version (7.0.6)
2. Attempted to compile, completed compile then realized that dll was not in the bin folder
3. I didn't realize that NuGet Package is saved in the packages folder, so I downloaded the source mysql-connector-net-6.9.9-src
4. Compiled
5. While trying to find my project folder, I stumbled onto the package folder so I used Add Reference to add the dll for 7.0.6.
6. Compiled, and I got a similar as the one above. (Unsure if the version is the same)
7. I removed the reference and tried to reinstall via NuGet (received similar error)
8. Repeated several times with the compiled code, modifying web.config, restart, reboot
9. Finally, I tried to download the latest stable version.
I am not familiar with NuGet, assemblies, and GAC. I am familiar with the terms but usually have worked by following directions so have not delved into them much before. I do not think my understanding has increased any bit after this either, but hopefully this help someone as I haven't seen this solution.
Labels:
buggish,
coding,
MySQL,
NuGet,
Visual Studio
Thursday, March 9, 2017
Buggish: Visual Studio 2017 - The designer encountered an error while loading the table definition
The designer encountered an error while loading the table definition
Fix
Restarting computerFailed Attempts
- Tried reconnecting to Azure db
- Tried restarting Visual Studio 2017
- Tried using Visual Studio 2015
Other Odd Behaviors
This was the first time using Visual Studio 2017 (just installed).
An empty web project created.
Connected to Azure db previously created couple years ago and has been in use.
"View Designer" was working initially.
Right before breaking, I just created a new column and new unique index to 3 tables.
Initially unable to "View Designer" on those tables, but able to on the other tables.
After several attempts, unable to "View Designer" on all tables with VS2017 and 2015.
Disconnected and reconnected with no success.
Restarting Visual Studio with no success.
Rebooting my system (running Visual Studio) appears to have fixed the problem.
My guess is some connection was held up... but doesn't make a lot of sense restarting application would fix that problem.
Labels:
Azure,
buggish,
Visual Studio
Saturday, March 4, 2017
Javascript - Find elements by the "for" attribute
function findLableForControl(el) {
var idVal = el;
labels = document.getElementsByTagName('label');
for( var i = 0; i < labels.length; i++ ) {
if (labels[i].htmlFor == idVal)
return labels[i];
}
}
This function is handy when working with C# CheckBoxList (or really any of the C# lists). When creating javascript to manipulate the list, C# does not provide ID to the label, rows, nor columns. Thus to find the label, only the "for" attribute can be used to search.
var idVal = el;
labels = document.getElementsByTagName('label');
for( var i = 0; i < labels.length; i++ ) {
if (labels[i].htmlFor == idVal)
return labels[i];
}
}
This function is handy when working with C# CheckBoxList (or really any of the C# lists). When creating javascript to manipulate the list, C# does not provide ID to the label, rows, nor columns. Thus to find the label, only the "for" attribute can be used to search.
Reference
http://stackoverflow.com/questions/285522/find-html-label-associated-with-a-given-input/285575
Labels:
coding,
javascript,
programming
C# DataBinding does not contain a property with the name with custom class object and CheckBoxList
I get the error "DataBinding: class1 does not contain a property with the name prop1"
My setup was an object array of class1 which has a property prop1 and prop2:
Then I set the DataTextField and DataValue:
This throws the error above. The fix is the lack of accessors in the class, class1. The class should be corrected to the following:
public class1 {
public string prop1;
public string prop2;
}
My setup was an object array of class1 which has a property prop1 and prop2:
class1[] arrClass = new class1[arraySize];
Then I set the DataTextField and DataValue:
checkboxlist1.DataSource = arrClass;
checkboxlist1.DataTextField = "prop1";
checkboxlist1.DataValueField = "prop2";
checkboxlist1.DataBind();
This throws the error above. The fix is the lack of accessors in the class, class1. The class should be corrected to the following:
public class1 {
public string prop1 { get; set; }
public string prop2 { get; set; }
}Technically, set is not needed.
Reference
https://msdn.microsoft.com/en-us/library/aa287786%28v=vs.71%29.aspx
Labels:
C#,
coding,
debugging,
programming
Tuesday, February 28, 2017
Buggish: VS2013 Unable to debug and intellisense haywire
1. The breakpoint will not currently be hit. The source code is different from the original version.
I tried a bunch of different methods suggested in stackoverflow, but none seemed to have worked except to make additional changes to global.asax to force VS to recompile the code. I believe what may have caused the problem is that I was updated global.asax while I was still running the application in debug mode. Normally this is not a problem, but may be a timing of when I updated the code while the page was refreshing.
2. After the problem above, I had issues with intellisense in code-behind not recognizing objects in the aspx page. The red squiggly line comes up, but I am still able to compile and run the application with no compile errors. If I type out the object name, intellisense will not find the object.
Restarting VS fixed this problem. I do not know what caused this as I have restarted VS several times to fix the problem above. Either the problem came up after the fix above, or somehow keeping the files open when I closed VS before restarting somehow fixed the issue.
I tried a bunch of different methods suggested in stackoverflow, but none seemed to have worked except to make additional changes to global.asax to force VS to recompile the code. I believe what may have caused the problem is that I was updated global.asax while I was still running the application in debug mode. Normally this is not a problem, but may be a timing of when I updated the code while the page was refreshing.
2. After the problem above, I had issues with intellisense in code-behind not recognizing objects in the aspx page. The red squiggly line comes up, but I am still able to compile and run the application with no compile errors. If I type out the object name, intellisense will not find the object.
Restarting VS fixed this problem. I do not know what caused this as I have restarted VS several times to fix the problem above. Either the problem came up after the fix above, or somehow keeping the files open when I closed VS before restarting somehow fixed the issue.
Reference
http://stackoverflow.com/questions/2468852/the-breakpoint-will-not-currently-be-hit-the-source-code-is-different-from-the
Labels:
2013,
buggish,
C#,
intellisense,
programming,
Visual Studio
Saturday, January 14, 2017
Buggish: Visual Studio 2013 - Create table designer never loads
Problem type: hanging
Last status message: "the design surface is loading"; "inspecting database structure"
Steps: Open to database in SQL Server Object Explorer, right click Tables, select Add New Table...
Symptom: Application just hangs with "the design surface is loading" in the main panel, and "inspecting database structure" in the Data Tools Operations tool box.
I've left this open for several minutes, but nothing appears to happen.
Worked couple months ago. Haven't been used VS2013 since then.
Resolution: Changed the timeout period from 60 to 360 in registry: [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SQLDB\Database]
"QueryTimeoutSeconds"=dword:00000168
"LockTimeoutSeconds"=dword:00000005
"LongRunningQueryTimeoutSeconds"=dword:00000000
It is possible that I didn't wait long enough. But after this change, I was able to get the proper windows. I didn't have to wait as long as prior to the change by significant amount, but still had to wait a couple minutes.
Reference:
https://social.msdn.microsoft.com/Forums/Lync/en-US/835ecacd-05ed-4635-9124-922966fc1022/new-sql-standard-database-does-not-load-design-surface-designer-does-not-work?forum=ssdsgetstarted&prof=required
Last status message: "the design surface is loading"; "inspecting database structure"
Steps: Open to database in SQL Server Object Explorer, right click Tables, select Add New Table...
Symptom: Application just hangs with "the design surface is loading" in the main panel, and "inspecting database structure" in the Data Tools Operations tool box.
I've left this open for several minutes, but nothing appears to happen.
Worked couple months ago. Haven't been used VS2013 since then.
Resolution: Changed the timeout period from 60 to 360 in registry: [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SQLDB\Database]
"QueryTimeoutSeconds"=dword:00000168
"LockTimeoutSeconds"=dword:00000005
"LongRunningQueryTimeoutSeconds"=dword:00000000
It is possible that I didn't wait long enough. But after this change, I was able to get the proper windows. I didn't have to wait as long as prior to the change by significant amount, but still had to wait a couple minutes.
Reference:
https://social.msdn.microsoft.com/Forums/Lync/en-US/835ecacd-05ed-4635-9124-922966fc1022/new-sql-standard-database-does-not-load-design-surface-designer-does-not-work?forum=ssdsgetstarted&prof=required
Labels:
2013,
buggish,
programming,
regedit,
Visual Studio
Saturday, January 7, 2017
Memory... where I succeed and where I fail (work)
I have been working a colleague who works very differently from how I work, but we have the same role. Although we both still get the work done successfully and effectively. What I always found fascinating as we discuss our processes was the things I never paid attention to and how I have absolutely no recollection to the piece of information.
The most interesting thing that I am always thinking in the back of my mind while we're chatting was how little I remember about the details that she picked up. I mean absolutely zero information like reading the document at all, but I did in reality. I only know because I keep a checklist of tasks that I am supposed to complete. I am also very consistent on the missing information.
What I have learned is that there are many factors to how my mind remembers and recalls information. The biggest factor is how much I "care" about the information. For me to work quickly and effectively, I ignore a lot information that is not directly relevant to my role. The less I care, then I will more likely forget the information. If I don't care, I will almost not remember a thing about it.
The next because factor is stress and time. By stress, I do not really mean high blood pressure but how close I am to my limitations. For example, I can only handle at most two new emergency releases. Another one, my level of quality will drop dramatically. If you were to ask me 2-3 months later about the details of those releases, I will almost not remember a thing even though I appeared to know all the random numbers and ids at the time. But given time and a long term release, I will remember significantly more information for a much longer period of time.
On the other hand, my colleague has less tolerance with stress. The reason (imo) is that she cares about a lot more information. If there is ever a problem, she will be able to resolve the problem herself. She has a reputation to be a great superstar. I am more known for managing and handling processes.
In some ways, we make a good team though. We have more work than our team can handle so she gets delegated the larger and more complex releases, while I work on the more immediate requests. We do have other people in our team and they fall in the spectrum between us, and we all work out pretty well.
Unfortunately for me is that this is a little fail for me because I am almost always busy but I am the only person willing to build something to improve our process (at least as far as I know). I have recently spoken to my manager so hopefully this will alleviate some time for me to improve our work.
The most interesting thing that I am always thinking in the back of my mind while we're chatting was how little I remember about the details that she picked up. I mean absolutely zero information like reading the document at all, but I did in reality. I only know because I keep a checklist of tasks that I am supposed to complete. I am also very consistent on the missing information.
What I have learned is that there are many factors to how my mind remembers and recalls information. The biggest factor is how much I "care" about the information. For me to work quickly and effectively, I ignore a lot information that is not directly relevant to my role. The less I care, then I will more likely forget the information. If I don't care, I will almost not remember a thing about it.
The next because factor is stress and time. By stress, I do not really mean high blood pressure but how close I am to my limitations. For example, I can only handle at most two new emergency releases. Another one, my level of quality will drop dramatically. If you were to ask me 2-3 months later about the details of those releases, I will almost not remember a thing even though I appeared to know all the random numbers and ids at the time. But given time and a long term release, I will remember significantly more information for a much longer period of time.
On the other hand, my colleague has less tolerance with stress. The reason (imo) is that she cares about a lot more information. If there is ever a problem, she will be able to resolve the problem herself. She has a reputation to be a great superstar. I am more known for managing and handling processes.
In some ways, we make a good team though. We have more work than our team can handle so she gets delegated the larger and more complex releases, while I work on the more immediate requests. We do have other people in our team and they fall in the spectrum between us, and we all work out pretty well.
Unfortunately for me is that this is a little fail for me because I am almost always busy but I am the only person willing to build something to improve our process (at least as far as I know). I have recently spoken to my manager so hopefully this will alleviate some time for me to improve our work.
Labels:
memory,
self improvement,
self reflection,
work life
Sunday, January 1, 2017
Exercise 20170101
I didn't reach my goal last year to run a 10k, but I think I could have at least finished one under 80 minutes. I feel confident that I can reach it this year.
As of this morning, I have lost 10 pounds since a year ago. Yesterday, I attempted my fastest pace on a treadmill for 5k which I ended up finishing in 30.5 minutes. It was not a straight run, I did have to take a couple breaks (~30 seconds each).
Since I've gotten my fitbit in June, I started around 20k steps and slowly decreased to 10k steps by end of the year. This was mostly due to the increased workload due to everyone being out for the holidays so I was unable to take a lunch break to walk (mostly ate at my desk which also meant I ate unhealthier foods).
Also, I did less running and more strength training primarily with chest presses. I started around 25-30 pounds of about 3 sets of 20 reps, and ended up doing around 40-45 pounds of about 3 sets of 12-15. I still cannot do a pullup, but pushups are a little easier now.
On the treadmill, I oddly feel like I get "tired" but found if I increase the speed, I have renewed energy. I have started wondering if I am getting "bored" or maybe somehow that increases my adrenaline due to my personal competitiveness? I kind of doubt the latter since I can be lazy especially about myself. I find it easier to be "competitive" when I think it'll help someone else.
I've also started eating a little healthier in mixing in more greens into my diet. Broccoli, zucchini, and spinach has been a good portion of my default vegetables for my lunches. I am still not consistent with the cooking them as they always seem to come out differently each time. I also drank more home-made fruit smoothies, primarily pineapple, banana, strawberry, and blueberries. Sometimes watermelon, apple, and peaches.
I really need to work on getting more sleep. I was doing ok mid-year but recently, I have been averaging around 4-5 hours of sleep. I am not sure why but it has been getting harder for me to fall asleep even though I am in bed at a reasonable time.
As of this morning, I have lost 10 pounds since a year ago. Yesterday, I attempted my fastest pace on a treadmill for 5k which I ended up finishing in 30.5 minutes. It was not a straight run, I did have to take a couple breaks (~30 seconds each).
Since I've gotten my fitbit in June, I started around 20k steps and slowly decreased to 10k steps by end of the year. This was mostly due to the increased workload due to everyone being out for the holidays so I was unable to take a lunch break to walk (mostly ate at my desk which also meant I ate unhealthier foods).
Also, I did less running and more strength training primarily with chest presses. I started around 25-30 pounds of about 3 sets of 20 reps, and ended up doing around 40-45 pounds of about 3 sets of 12-15. I still cannot do a pullup, but pushups are a little easier now.
On the treadmill, I oddly feel like I get "tired" but found if I increase the speed, I have renewed energy. I have started wondering if I am getting "bored" or maybe somehow that increases my adrenaline due to my personal competitiveness? I kind of doubt the latter since I can be lazy especially about myself. I find it easier to be "competitive" when I think it'll help someone else.
I've also started eating a little healthier in mixing in more greens into my diet. Broccoli, zucchini, and spinach has been a good portion of my default vegetables for my lunches. I am still not consistent with the cooking them as they always seem to come out differently each time. I also drank more home-made fruit smoothies, primarily pineapple, banana, strawberry, and blueberries. Sometimes watermelon, apple, and peaches.
I really need to work on getting more sleep. I was doing ok mid-year but recently, I have been averaging around 4-5 hours of sleep. I am not sure why but it has been getting harder for me to fall asleep even though I am in bed at a reasonable time.
Reference
http://douglastclee.blogspot.com/2016/01/exercise-20160109.html
Labels:
exercising,
new year resolution,
speed
Subscribe to:
Posts (Atom)