Showing posts with label 2013. Show all posts
Showing posts with label 2013. Show all posts

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.


Reference

http://stackoverflow.com/questions/2468852/the-breakpoint-will-not-currently-be-hit-the-source-code-is-different-from-the

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

Thursday, April 10, 2014

Review: Replacing Flat Tire on Honda Civic 2012 (1 hour)

I do not know what I ran over the other day, but I suddenly got a low air alarm on my car as I was driving last night. When I got back home, I could hear the air coming out of the front driver side tire. It was dark and rainy so I figured I'll look at it in the morning.

Sadly (but not surprised), my tire was flat as can be in the morning. This is my first time having to put on a spare tire. All the previous times, I had enough air to make it to a repair shop.

So, I tried to see how far I can go but I got on stuck on the very first step, where to put the jack. I went to the trusty YouTube videos. The jack went where it seemed pretty obvious. There is a notch near each wheel on where the jack should go. This is where I would have guessed if I were stuck in the middle of nowhere. I was concerned because the area is an edge not a flat surface which was what I was expecting.

Before raising the jack, I had loosened the lug nuts as recommended on the video. Then, I spent a lot of time trying to raise the jack. I had some trouble because I was too close to the lawn so I did not have complete clearance to make continuous circles. Eventually, I got it to where it needed to go.

The lug nuts were easy to figure out although I had to put a lot of weight into it to loosen them up before. Everything up to this point is demonstrated in the first video [1]. I even laid the nuts out so that I could put them back in the same order.

Then I got stumped because my tire was stuck. The video [1] shows the tire easily came up, practically just fell off. I was really tugging and at some point I realized that I should stop before I knock the car off the jack. Then, I looked for another video [2] on stuck tires.

Fortunately, someone happened to come by and was able to help me. He was able to get a piece of plywood and a mallet. He basically did what was on the second video except he used the plywood to prevent any potential damage the mallet could do. With a couple hard hits, he was able to get the tire to pop off.

I put on the spare, then put the lug nuts back on in a star pattern as recommended in the video. I brought the car to a tire repair place nearby and had my tire patched up for $28 including tax and service. The guy even said that it was patched from the inside and 'plugged' from the outside. Supposedly, patching the inside is better which made sense to me.

Although I was a little bummed by the flat, I felt good about the experience in putting on a spare and getting this all done in a day. I probably could do the entire process within 15-30 minutes.

I still had the low air warning with the spare tire. I am not sure if it went away when they replaced the tire or if they had to enter some code to reset it.

Steps to Replace Flat Tire with Spare

1. Loosen lug nuts
2. Place jack in appropriate spot
3. Raise car until front tire is off the ground plus a little extra if the tire is extremely flat
4. Remove lug nuts
5. Remove tire
6. Put on spare
7. Put on lug nuts and tighten in a star pattern
8. Clean up tools, put flat tire in car

Reference

[1] https://www.youtube.com/watch?v=3gSyHyrFN2Y - Video on replace the front driver side tire on a Honda Civic
[2] https://www.youtube.com/watch?v=H7PWwrcGREM - Video on getting tire off when stuck (EricTheCarGuy)

Monday, April 7, 2014

Review: TurboTax Online 2014 (for 2013 tax)

It cost me just under $100 for TurboTax to file my 2013 taxes, about how much it would have cost me to pay for an accountant.

I am not a huge fan of the new layout at first. It was a little confusing on what I needed to do with the edit or add portion. This was confusing because it said that it was importing my data from 2012 tax season. Then I get to this screen with all my information with 2012 and 2013 data where the 2013 data was empty (because I have not fill in any information yet). When I click on each item, I only had options to edit or remove. Nothing has changed from last year, and I have to enter the information again?

It is kind of a pain that my employer is yet to have their payroll automatically pulled from TurboTax. I was also not sure what to put in when it asked me if I moved since the last filing because I did move but it was this year.

It was hugely convenient that Scottrade was one of the available companies to import data from because I have made many trades in the last few months. This was nice because it was able to separate the DIV from the INT and from my long term trades. The confusion was a bit on the long term trades because there was a lot of extra pages that were not pertinent from Scottrade. With the auto import, I was able to figure out what the fields were for... eventually.

Otherwise, the whole process took me about 1 hour to complete.

Monday, February 3, 2014

Review: 2013 metrics for Honda Civic 2012

Gas Data for 2013

First full year of data for my Honda Civic 2012.

Total Miles Driven10696
Total Gallons of Gas311.72
Total Cost of Gas$1,025.22
Gas Milage34.31
Average Price per Gallon$3.29

MPG

Gas Mileage has dropped from 35 mpg to 34.31 mpg. Now average 34.86 mpg lifetime. I'm not sure if this is due to my mom using my car for a month but somehow her mpg is much lower than mine.

Average Gas Price

Interestingly, gas price is lower than total average $3.34 and a 2012 average $3.43. 

Insurance

Premium went up $10 with Geico.

Reference

Wednesday, January 1, 2014

Life: 2013

Another year has come and gone.

Diet

Although this was not a goal at the beginning of the year, I did make it my goal by end of the year some months ago. I did not quite meet my goal to lose 10 pounds by end of the year, but I did lose almost 5 pounds. I did most of my loss in the last quarter.

Keeping track of my weight throughout the year really gave me some motivation. This year, I had attended 7 weddings spread almost evenly apart. With all the travels and celebrations, I had gained quite a few pounds (up 5 pounds by end of Q3). Summer was also very difficult because I took a break from intramural sports which I was playing indoor soccer and volleyball.

Fortunately, I found my exercise ball and started making use of that in September when I started working from home more often. I would do simple crunches during meetings. This did not tire me nor distract me from taking notes. I could probably do about 80-120 light crunches which I would only feel the burn when I stand up. For reference, I can do about 20 sit-ups to feel the same burn in my abs. After doing this for a couple weeks, I noticed a significant increase in running. I do not lose my breath as easily and also increased my speed.

In the last month, I have added other exercised to my workouts by making use of the hotels I stayed at. I learned a few other exercised from my cousins that I can do without weights or machines. In the last week, I've added some weights to my workouts which might have worked against my weight loss. I have noticed that I am a bit more tone so I figure I have gained some muscle mass. Since I am doing this more for health, I don't mind that I have not made significant weight loss during this time period.

I am now able to run 10 minute miles easily on a treadmill. I expect this to be actually a bit slower on the road but I can probably accomplish it by putting in effort since I am not exhausted after 10 minutes on the treadmill.

Project

Although near the end of the year, I finally started on my project. Although spent a lot of time to learn Linux and Python, I have passed a hurdle I've been trying to do for several years. I still need an idea to build on but creating user and security management will keep my busy for some time. I will probably built other smaller apps to get used to Python.

With a mixture of visiting friends, friend's wedding, group trips, traveling with family, and other holiday events, I have not put much time in the last couple weeks but foresee progress after the new year. I have a general idea to build a personal inventory system which will provide notice to personal life events. 


Work

I am working on my second longest tenure at a single company. Although not very challenging, there are still some things that I learn every so often. I experienced a lot of reorganizations and worked under a few bosses now. The latest boss seems much more experienced in release management so there was a lot to learn in the last quarter. The new process is much easier to maintain so I feel a bit overqualified for the work that I do, so I spend some time observing how my current boss gets these changes implemented where the past bosses were not as effective.

With a regular 8-9 hour schedule and working remotely, I have time outside of work to exercise and/or work on my project. This has been good so far.

Although I was not searching for new work, I have a company request an interview in the last couple weeks. It sounds interesting especially with a higher rate. The position is focused more on release management tasks. The cons is that it will not be remote work and will be more work filled. My only concern with it being more busy is if the company dedicates any time to improve processes to simplify certain tasks. I would definitely give it thought if I pass the first interview. As of now, it is not worth thinking too deeply on until I get a more serious consideration.


Social Life

I have made a lot of new efforts to meet new people. I hope to continue to get out more to meet other new people. Also, I hope to spend more quality time with friends and family. Counter-intuitively, I plan to pay more attention to idle chats. I think I sometimes spend too much through processing on more serious topics, so I do not feel as connected to people as they are with other friends. For one, I need to ask more questions about their personal lives and keep track of them. I need to ask things like where they traveled or plan to travel, places they've ate at, etc. In the past, I didn't care much for this before because I haven't cared much about traveling.

I have noticed that this has also helped with my memory. I am not sure if it is because I am just more aware or just that I am exercising my ability to recall information. It may just be a combination of the two. 

Blogging

I have found that blogging takes up quite a bit of time. I think I may cut down on the frequency of blogging. I was also thinking of possibly moving towards a wiki to post on more informative type content like reviews and complaints. The reason is because these types of content provides more value over time as opposed to other content that are more time sensitive so has decreasing value as the post ages.

I think my topics are still bouncing around a lot. I have not determined whether this is a good or bad thing. Although this may not be as reader friendly, there is no particular audience that I am writing towards except for my future self. The topic choices will likely to stay erratic and let search engines lead readers to whichever posts is relevant to them.

I have added webmaster, analytics, and ad-sense to the blog. This has not provided much assistance in what I want to write about. Although it tells me which posts are more popular, most of those posts are not of real importance to me although I'm glad that there are people who make use of it.

2014

Happy new year! I wish you all a good, prosperous, and healthy 2014.