Friday, October 31, 2014

Coding: Name Distributions for 12k Semi-random Names

I wanted to create a table of people's names so that I have a set of data for testing purposes. I wanted the names to be somewhat more random than people I know and needed to find possible exceptions to my assumptions on names. As noted in my previous post, I have ran into quite a few exceptions and some were quite difficult to workaround (ie Muhammad ibn Musa al-Khwarizmi or Georges-Louis Leclerc, Comte de Buffon).

Before I get to some of the problems, I wanted to just post some data since it is just one of those things that I just like to do with my free time even though there may be no value to it. This is for my set of 12k names which I pulled from any lists of names that I could find (US presidents, popular scientists, soccer team members, veterans, etc.) with some diversity.

The top 10 first names are:

  1. John - 40
  2. James - 29
  3. William - 21
  4. Thomas - 17
  5. Robert - 17
  6. Michael - 15
  7. David - 14
  8. George - 12
  9. Mark - 12
  10. Richard - 12
The top 4 last names are:
  1. Brown - 9
  2. Johnson - 8
  3. Smith - 5
  4. Stewart -5
My random data search is quite dominated by males. The top female name is Susan (8). Just off the top of my head, I think at least 95% of the names are male. I will try to focus on more female dominated industries. I stop at 4 for last names because there were too few overlaps in last names.

I also did a direct aggregate of names, so names with different spellings or abbreviations would have a lower count. I have thought about creating some sort of normalized table for names (ie John, Jonathan, Johnny, Johny, etc.).

As for unique spellings:
First names - 655
Last names - 1055

Another small issue with the names are the use of accent marks. On the traditional US keyboards, accents are not easily accessible so accents may be left out (ie Zoe vs Zoƫ). These are counted separately in the SQL aggregates.

One of the biggest problems to this count is Asian names especially Chinese ones. Most Asian names are family names first. Although almost all Chinese family names are a single characters, there are rare exceptions to this rule. Unfortunately, I cannot read the names. Even if I assume that whatever I find are single characters, I am not exactly sure how to manage surname first whether I should enter them into the last name field because that is traditionally the family names for Americans (which most systems are based off of) and because names are split so that formalities can be added to American traditions or keep the literal that it is the first part of the name then.

This does make a difference if I were to create metrics similar to what I have above. It will be more important to keep the list as first names as opposed to given names and last names as opposed to family names. This becomes even more complicated as I read that some places like Iceland and India have other traditions to their names where there is no "family" names similar to American or Asian cultures. There are some that include the location, parent's, or parents' names. 

Or even ancient times where people only had a single name. How would I enter Alexander the Great? Given that I keep 'von' and 'de' in the last names, the most logical method is to have 'the Great' as the last name.

Also some people changed their names or inherits new names. I did not have a method for this except to just keep the first name that they had (or at least I think it was the first one). In the future, I will likely have to create an alias table to track people with multiple names.

So there came to be a lot of work to dealing with names than I had originally planned. And this shows how software planning could easily be thrown out the window. What most would probably estimate to be only a couple hours could turn into days because the architecture may change thus rippling other changes.

Thursday, October 30, 2014

Coding: How to request, store, and display names from different cultures and languages?

I have found this great site that does a great job of describing the majority of cases. While trying to create a database, I had created a table with the standard first name, middle name, and last name. I had input several names to test this table. There were a few instances that had my question the method.

Before you read further, I will be coming from the standard American naming format where most people will have a first name and last name with an optional middle name. The first name will typically be the given name, while the last name will be the family name. There are rare exceptions due to the cultural or individual reasons. As far as I am aware, there are no laws to how the games should be passed from generation to generation so names really could be used in any manner in theory.

A lot of ancient names have only a single name like Euclid. I have the table to allow nulls for last name, but it still raises the question on what impact this will have on applications that may use the last name. What do people with a single name fill in forms that require a last name? He can also be identified as Euclid of Alexandria. As some names make use of the location names, "of Alexandria" could be designated as a last name.

On the other spectrum there are names with multiple parts, usually including parents name, location names, generation name, caste name, and any new traditions people want to make up. Which parts should go into which field or column? First, middle, and last name could still work but would be up to the user to decide. The problem with that is that we lose some capabilities to easily group people by names... but is that really a problem?

Along the same line, many east and southern Asian names are family names first. Should that be literally the first name or switch the family name  to the last name? This also poses the same problem as many immigrants decades ago have adapted their names to the given name then family name structure, while more current immigrants have kept the same order (like Yao Ming).

At the end of the day, is there a real need to separate the name into first, middle, and last? As the w3 site suggests, I could use different fields of full name, given name, and/or display name. I would lose the ability the ability to automate the US American formality of addressing names as Mr., Mrs., or Ms, as I wouldn't know what the last name is (because some last names have multiple parts).


Reference
http://www.w3.org/International/questions/qa-personal-names

Review: Wii U Balance Board (First Impression)

The Wii Fit U is quite fun and the fit meter makes a nice pedometer. The most interesting thing about the game to me is seeing how stable (or how unstable) I am at certain exercises. The balance games are also quite interesting.

One drawback to this game is that I do not have other controllers. There are quite a few exercises and games that require the wii-motes to play. They look interesting.

Another drawback is that I cannot find other Wii U games that make use of the balance board. There appears to be some from Wii classic.

I kind of wish the board was a big bigger. I feel that my feet barely within the board and barely within my shoulder width, so I will be off the board if I make any slight missteps from the center. This would be a lot more fun if it were maybe double the size or something as big as the dance pad.

Review

http://nintendo.about.com/od/toppicks/tp/The-5-Best-Wii-Balance-Board-Games.htm

Monday, October 27, 2014

Work: When did 50 miles become a local distance for new job opp?

I received a random recruiter call. After the introductions, he tells me that he is looking to fill a position. I responded that I am currently employed but willing to listen to the details. He says that it is local. After giving me the location, I said that it was a pretty far distance. He then states that it is local... 50 miles.

50 miles?! That's local? That would probably be a 2 hour commute... maybe 1.5 with no traffic but for work that will always be rush hour... so probably more like 2.5 hours and possibly even 3-4 if there is an accident. And this is my estimate just for standard places, but I have to cross a major city plus that area is known for its traffic jam. I quickly declined to save us both time.

And where do these people even get my information? This person has my mobile number and my latest work location. I do not post my mobile number, and my resume doesn't even have my current employment. This really makes me suspicious on what information some of these recruiting companies share. I doubt my current employer would share this information, so that would only leave the one recruiter company that got me my current job who would also have my mobile number.

I really hope legislation would someday force companies to report where they obtain personal information. Companies should not be making money from my information (which does not even include that this seems like some form of privacy invasion) without my consent. If they are unable to provide the proper trail of information, they should be fined and I should get a cut of the money for my troubles.

Companies sue other companies and even individuals just for using their name. Shouldn't there be some sort of copyright issue for companies distributing my resume especially if they are profiting from it either monetarily or valued data? While they are at it, they should make it illegal to waive your right to allow them to bypass it.

Thursday, October 23, 2014

Buggish:Google+ Error when Click On New Icon in Blogger Admin Page

I have been busy with other things lately and haven't posted for a while. I just noticed that there is a new icon in the top right corner of the blogger admin page. It is a plus-sign inside a comic speech-box.

I'm not exactly sure what it does, but I get an error message: Error Loading.


Google+ Error
Google+ Error

Update 11/10/2014: This error has been fixed. It is the Google+ share. I just happened to check, not exactly sure when the fix was implemented.

Review: Changing Mii Character's Pants?

Why is the default color red? Couldn't it be a little more neutral like khaki, off-white, black, jean blue, or even just regular red? I am quite color-illiterate but that red-maroon color is just kind of... eh... it just does not match any of the other palette colors available. If Nintendo was trying to make everyone feel unsatisfied equally, then they did a fine job of it.

I guess someone did invest the time into changing the pants color, but it looks so intimidating that I have learned to accept my pants color :D

I'm not sure if there are games that use the Mii characters. After reading a few articles online, it seems that the pants color may be used to identify other Miis or allow games to control some aspect of the Mii characters. All that is still speculation, as I'm still saving to buy another controller before getting another game.

Reference

http://www.ehow.com/how_6632990_nintendo-change-pants-color-mii.html

Wii U

Friday, October 17, 2014

Work: Late Night Work

Just finished some night work. Nothing like a period of time where no one else is on to distract you from work. I always feel like I easily do about a day's worth of work within a couple hours. 

For one thing, I noticed that the type of people who seem to talk forever rarely work the extra hours. Not that I'm complaining because I get a lot more work done. But I always wonder what goes through their heads that make them have to repeat everything multiple times within the same conversation. I even have one person who keeps telling me how to do my work that is not even related to that person.

For example, we would have a conversation about what work needs to be done. The work is to get Jobs A, B, and C completed by Day 10. Her job is to make sure Job B is completed by Day 5. Her requirements is that it will take 3 days. So, working backwards, Job A has to be completed by Day 2.

For some reason as I explain to another person if they can finish their work in 2 days, person B has to reiterate that it is important that they get 3 days. As we complete the details of Job A, person B has to interject that if they cannot finish in 2 days that they cannot finish their work by Day 5.

What always gets me to practice some calm is that historically group B has always finished their work within 1 day for the last 2 years. Each time, she stresses that they need 3 days which I always give them. I have tried different methods to figure out what her concerns are. I've tried asking directly, providing the contingency plan if the different groups cannot meet their committed dates, and another minor differences.

Another time, I always trying to get a timeline from the testing team. This disruptive deployment needs to be put into place so I am trying to gather the preliminary duration that each group needs so that I can determine around what date we can deploy. For some reason, they cannot give me a duration unless I give them which date we can deploy.

Confused, I try to explain them that I need their duration so that I can determine when the deploy date. Yet the manager continues to stay on her story that she needs to know when the deployment date is so that she can work backwards from that. Afterwards, I even checked with a few other people in the meeting offline to see if perhaps I was not making any sense. They seemed to understand what I was asking, and eventually I was able to piece together a plan without the manager of the test team.

What made matters worse was that the timeline overlapped with another priority. In the next meeting, I had to figure out a contingency plan. Here, she gives me another roadblock in that she cannot have the code change until after that priority is completed. I stated that is not a problem so we will just have to drop code after that is done. Although not exactly a real problem, she somehow things this is a show stopper and keeps repeating that they will not approve the work plan because they cannot meet my initial plan. I repeat that I understand why they cannot meet it, so we have not changed to a new date given the new information. Yet, she will still not approve the new date because it does not meet the INITIAL plan, emphasizing "initial."

Sometimes, I just do not understand why I have to go through these types of people. I wonder if they ever listen to themselves. I have found that it is just easier to ignore these people and just accept that it is the way things are. Unfortunately for audit reasons, I just have to keep asking then escalating to get the approval. 

I think most other people have already arrived at this conclusion. When I try to ask for alternate methods of handling these matters, I seem to only get a smile, a pat on the head, and a shrug. With the proper people, I seem to be able to hold my meetings within 15 minutes and get the work done with higher quality and efficiency. With teams that just include a couple of these talkers, my meetings take up to an hour. I have even timed a couple meetings and found that they take 30 of those minutes. An additional 15 just to respond to them.

One minor change that I have been able to implement is that I know which topics impact which group, so I get all the quick topics first. Once one of the talkers start, I start signalling that the people not pertinent to the discussion to drop/leave the meeting. I've let them know that I'll forward any information if it impacts them.

As a result, I find that I have one of the better attended meetings in my team. They also come prepared and ready with their plans. I have tried to explain this to my team, but for some reason they also like to repeat things until it has been beaten to a pulp. Yet what can I say, they've been doing this for years. Somehow we manage to stay afloat yet executives wonder we never get ahead. The continuous reorganizations do not help either.

Thursday, October 16, 2014

Project: No easy way to change class names using EF or MVC

I am still testing around the MVC and EF tools. What I have been trying is to change a class name. Although this probably happen very rarely, this exercise at least helped me understand how some of the pieces fit together.

It was interesting that the cshtml are not included in the global name change updates. I had to manually go through each one to update to the new class name. I also noticed that all the model parameters always have the red squiggly underline. This does not have an impact as I was able to eventually get the site running again.

Clearly, this is an example that is kind of the drawback to scaffolding (sorry, still not completely familiar with the term yet). Because a lot of the code is generated based on the class name and because they are internal variables, these variable names do not change. This is not a major problem for the code as it will still render but will be just as misleading as they would still reference the old class name. This also includes the documentation. The best way is probably use the Visual Studio's CTRL+ALT+F feature to just replace all terms. Hopefully, the term is not too simplistic to impact other variables.

Somehow my table name was updated with the new model name. I am not exactly sure how I did this or when it happened as I was not checking that while I was correcting the files. I did run an Update-Database. This is my best guess on when it possibly could have occurred. Later, I did an Add-Migration and Update-Database. But because the Up/Down methods were empty, I assumed there were no changes.

At then end of the day, it is possible. I'm not sure how complex some of these classes may become, but with simple classes, it is much easier just to recreate a new class. I'm sure there probably is a way to delete the old tables. Hopefully, you just never have to make these changes.

Project: EF6, Resetting Entity Framework (VS 2013 Express, SQL Server Express, C#)

This was my first time working with Entity Framework. Because I used it in a web application, I had to fidget with some of the instructions I found online that worked with a console application. Somewhere in the middle of the setup, I changed the database and I think this is where I must have broken something.

Basically, I followed the initial setup so I had a migration for Initial Create. In this setup, I had created a class. In this area, I am not sure exactly how to replicate what I ended up with. Somehow I ended up with the migration scripts for creating the initial ASPNET tables but not my class (MyForm).

I continued to use add-migration with no luck. It will not attempt to create the table. The up/down methods are always empty. I am not exactly sure where it stores the information that it has already attempted to generate MyForm. I looked inside the script for InitiateCreate but I do not see the class or table in there.

Next I tried to make a modification, and this did generate an add column. Because I do not have the table, this update failed. Just to test it further, I also created another class. This also generated scripts for creating a table. Of course this failed, because the other update to add column is still pending.

After several more hours of banging my head, I finally decided to start over. This posed another set of problems. I quickly found this link which gave me the command (Update-Database -TargetMigration:0).

When I tried to add-migration again, I get the error that I still had pending migrations. I tried to look everywhere on how the system knows that I still had pending migrations. I just took a risk and just deleted the migration files in the Migrations folder. Initially, I had moved them to a backup folder but of course the project would still find it since it is in the same namespace. I guess I could have just dropped them from the project. Fortunately, by running add-migration, I was able to recreate the Initial Create scripts again.

Also another problem with the tutorials were that they were all using Visual Studio 2012 or 2010, while I am using 2013 Express. Some of the layouts and forms were slightly different. Because my problem was a bit unique, these slight differences really made me question a lot more than I should have. It would be nice if there were tutorials on how to make a blanket rollback without restarting a new project.

Error Messages


  • "Unable to generate an explicit migration because the following explicit migrations are pending"
  • object does not exist

Reference

http://stackoverflow.com/questions/10282532/entity-framework-start-over-undo-rollback-all-migrations

Review: FireFox's Memory Usage

I've been kind of watching the memory usage of FireFox using the Windows Task Manager. I was curious how much it used because I had left my gmail test account open last night and this morning FireFox was up to 1G of memory. So, I was wondering how much it uses by default.

The odd thing was that it settles around 74M of RAM after startup. Then I minimized it for a few minutes. When I check the WTM, it is now at 150M. When I bring it back to maximized, this actually drops down to 76M of RAM. I tried this minimized/maximize one more time and got 150M dropping down to 100M. It has not dropped below 99M as I am typing this blog on Chrome.

Even if I leave FireFox maximized but in the background, the memory usage remains the same. This seems very odd because I thought that inactive windows would actually take up the same or less RAM. It could take up less RAM due to its inactivity status which would the OS should start moving some of it to the harddisk so that it has more RAM for active applications.

Not as pertinent to FireFox, I always find it odd that the memory usage would fluctuate when nothing is happening with the application.

Tuesday, October 14, 2014

Buggish: Cannot Start a Level in Dreamworld of Candy Crush Saga

Ooooops! What happened? / An error was found, called: (E-Error=Error #1007][CCS error message: Something went wrong after a saga api call: https://candycrush/kingcom/api/gameStart with params: / (1/ 1)


I get this odd error message with no closed square bracket when starting a level in the dreamworld. Still stuck on the same level for ever, 383. Sadly, I'm still playing when I have some free time... just finished all the reality levels, 710.

Monday, October 13, 2014

Buggish: Google+ Comments not working with Blogger and Chrome. Works on FireFox.

Today, I attempted to repost an old blog on Google Plus but then found nothing happened when I used the +1 or if I clicked in the comments field. When I click in the comments field, a pop-up window comes up then disappears and I am left back where I was before clicking the comments box.

This works perfectly fine with FireFox.


Google Chrome - 37.0.2062.124 m
FireFox - 32.0.3

Sunday, October 12, 2014

Review: HP Pavilion 15z Touchpad (~1 week), poor

This touchpad (HP Pavilion) is one of the hardest touchpads that I have had to adapt to. I still have not quite adapted myself to streamlining its functions.

I have usually preferred to click using the button instead of a quick tap on the pad, but I have found myself using the tap more often because the click is not very responsive. The click requires quite a bit more force than other touchpads. Not that it is difficult to click, but it feels more like a press than a click.

The most annoying part is when I do use button, I usually leave my finger on the touchpad so that I can keep pressing the button. The problem with this is that the touchpad will no longer register a page scroll when there are 3 fingers on the touch pad. 2 for scrolling, 1 because it is the resting position for the left click.

Basically, the touchpad (so far) is on partially useful. I have always liked using the touch pad because of its proximity to the rest position of my thumb. There are times as I am editing files or using multiple screens, I am able to use my thumb to move the pointer or tap to point. It is also closer to my hands than reaching for a mouse.

This is probably my first laptop where I actually prefer to attach a mouse because I cannot get all the proper motions when I am trying to click on multiple objects/windows/etc.

Review: New Super Mario Brothers U - Completed All Levels and Stars for Mario (~20 days)

Overall, this game is not difficult. There are couple levels in star world that took me a while to finish. I also started playing the Luigi mode which, I suppose, kills some of the time when I don't feel like doing much. I liked that I could just pick this up and play for just 10-30 minutes at a time which I seemed to have found more of even though I was not very inclined at first.

It was quite painful to go through most of the levels again to collect all the stars. Once all the stars are collected in each area, a new level is unlocked in the star world. Then in star world, once all the stars are collected another final level is unlocked. Besides satisfaction for completing the game 100%, there is nothing else that is accomplished by unlocking and completing all the levels after beating Bowser.

The two hardest levels (by a lot) are Superstar Road's level 2 (Run for It) and level 8 (Pendulum Castle). Both levels took more than a day to complete (probably about 90 minutes of actual game play). Typically, I only play in 30 minute periods but these two really tested my nerves.

Level 8 was really difficult because I just didn't have enough patience to wait for the proper timings. I kept trying to sprint through the level and each time I would his a pendulum, fall into the pit, or die. It took a night's rest to calm my nerves which made it much easier.

Level 2 (which I actually completed after level 8) is completely opposite to level 8 where you are trying to sprint through the level. The section that I kept losing was around the third or fourth P-switch where there are moving platforms. For some reason, I just could not time this consistently. This got pretty bad to the point where I started to miss the flying koopa all-together, the P-switch, and even the P-switch at the very beginning.

Also to note, I have not played a console game for a very long time. My thumbs were actually quite sore after playing about 30 minutes. After about a month, they are no longer as sore. I did not track the total amount of time that I played, but I would guess around 30 hours of game play (usually logging more time over the weekends).


Reference

http://douglastclee.blogspot.com/2014/09/review-wii-u-and-new-super-mario.html

Saturday, October 11, 2014

Work Life: Being a Professional (coder)

I just read an interesting article. It has a lot of good points. Although I do not agree with every single point, there are a lot of good take-aways for anyone who is starting their career. In general, it is a good read. It is a bit lengthy but a good skim cannot hurt either. I also realize I wrote quite a bit too

The biggest problem (similar to some of the comments) is about learning off-the-clock being required as a professional. If you can spare time, this is a great way to get ahead. You should always strive to improve yourself, although it should be focused on areas that you cannot cover at work. Learning material that is related to your work should be done during work hours (assuming you are an employee).

As a contractor this may be a different story depending on the contracted work. If you contract to do work on certain work within your existing skill sets, then learning things to skills that have been promised should not be billed. On the other-hand, if you are contracted as a hired-hand, then the learning materials should depend on what your contracted responsibilities are.

The next problem is much lesser than the learning aspect. I rather separate the definition of responsibilities and professionalism. I prefer to see that professionals have a set process on how to deal with unexpected problems and responsibility as problems that should be managed by the person. If there is a big enough problem that falls within your responsibility, then attempts should be made to go outside of existing procedures to correct the problem. That includes staying up late and knowing when you should take a break. I have seen too many junior developers stay up all night then become completely useless the next couple days thus just adding onto the emergencies.

Also by separating the two, professionalism also covers responsibilities that may be outside your circle of responsibilities. For example if an outside group found a problem with communicating with your application, reasonable attempts should be made to assist the group even if there are absolutely no problems on your end. These groups could be third-party or system test team or another department. Being professional is knowing what a reasonable attempt is. You may already have prior engagements thus unable to assist in the short-term.

From my experience, one of the biggest factor to being professional is simply to manage expectations. Although some groups may not like that you cannot assist them immediately, almost all groups are satisfied with a path-forward (some plan where they can show progress) even if the response is that I will need 2-3 days to investigate the issue before providing a new status. One of the most helpful reminders for me is that most projects are really not life-critical (although I have treated some like one in by younger years). Although companies will claim that they lose so much money per hour that it is not fixed, there are many areas that they have skimped that also contribute to the problem. If you are a single-point of failure, that is not your problem... it is the company's problem. Do not confuse this as a reason not to do work, but more to prioritize how to balance your personal life and work life. If it is your anniversary or your child's big play, those should almost always take priority over extra work. Simply manage the "client" expectation that you will focus on it first thing in the morning.

The last problem that I want to bring up is primarily that the article also falls into one of its own points of curse of knowledge. Although I can relate to most of the points, I think it would be difficult for someone who is just starting their careers to fully understand why each point is problem. This is not an easy problem to fix as I suspect that I probably do the same all the time. A couple main topics are like "Don't be egoistic," "Be responsible," and "Accept criticism" (probably a few other topics). The problem with those is that everyone (good or bad) will always think they are all those things. Like who does not think they are good especially those who are victims of "bad" traits? I would have liked to see how to recognize when I am being egotistic or when I am in self-denial. I have faced many people who say "they accept criticism" when it is clear to everyone else that he is not.

The part about experience is actually a lot trickier than it is stated in the article. For example, I work with a lot of people who have much more experience in work experience but few have actual development background. Rarely are my suggestions are ever considered. I usually remain patient and professional in stating my opinions but not over-pressing the issue. Most of the time, the problems that come up are consistent with exactly the risks that I have stated. Am I perhaps being egotistic in that I provide more value than it really is (the actual data seem to back up my recommendations), or perhaps my coworkers egotistic in not allowing more value to my suggestions or accepting my criticism in their suggestions?

I find it more difficult when dealing with people who have more experience but do not seem to really comprehend the problem. Although they also recognize that there is a problem, I often do not agree with their methods in resolving the issue because they do not fully understand the full extend of the problem. I have tried to explain but I seem to fail in getting them to understand my point-of-view until it is too late. To me (imo), being a professional also means knowing when someone is set in their views, have more authority, thus knowing when to back-off and just hope they will someday see the value that I can bring to the team (even though they say that they welcome our thoughts).

Reference

Friday, October 10, 2014

Buggish: Secure Connection Failed Error When Accessing Google+, Drive via FF through a VPN

Secure Connection Failed

An error occurred during a connection to plus.google.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

I get this error with Firefox ESX 31.0 when trying to access Google Plus or Google Drive when connecting via a VPN. I do not have any problems via Google Chrome.

Wednesday, October 8, 2014

Info: Whirlpool wtw8900bc0 Modified Energy Factor, 2.5

I was helping someone fill out a rebate for a new washer and got stuck on the part to fill in the Modified Energy Factor (2.5 for this washer). This turned out to be more of a hassle than I thought. I even went through the manual (although I did just skim through it because it was primarily an instruction manual). Searching did not turn up the model number. After truncating the model number, I did find one site with the information.


Reference

http://www.reviews-washer-dryer.com/wtw8900bc.html
http://www.whirlpool.com/webapp/wcs/stores/servlet/WHRORNAjaxCatalogSearchView?storeId=10211&catalogId=10561&langId=-1&beginIndex=0&searchTerm=wtw8900bc

Tuesday, October 7, 2014

Buggish: Blogger on Chrome with Google Plus Comments

I still have not quite figured how blogger counts the visitors to my page. The number of visits per post does not seem to add up to the total visitors to the site. My top pages have about 14k hits. I have almost 300 posts which should be about 30-ish hits each thus about 9k hits. That will give me almost 23k. My all-time is 25.6k. Most of the posts have less than 10, but then I do have a few random ones that hit 100.... but it is not one for ever four which would average to about 30-ish per page. So there seems to be quite fewer hits by aggregating the post hits versus the site hits which should be approximately the same.

I was actually trying to manually count the number of posts by adding them up in my head. I had reached perhaps the 8 or 9th page. I found that the biggest issue in scrolling through the page was that each time it would load the google comments count. While it loads the count, I cannot scroll the page. Some times it would even jump around because it queued the commands while it was loading.

With all the memory that Chrome already consumes, I am surprised that it cannot handle a user scrolling while it loads data in the background. After been using Chrome for a while, I am starting to feel that Firefox is more my preferred browser. Chrome just uses too much memory and it just makes my system crawl at snail speed. Once Chrome is closed, everything else on the system seems to return back to normal.

This occurs even when I have Chrome minimized and not in use. This may be perhaps with the ads or other scripts, but I have not find this to be a problem with FF or even IE. At times, even Dota consumes less memory than Chrome.

Monday, October 6, 2014

Life: Exercising 20141006

So I have not been exercising much for the last week, and I have basically gained almost all my weight back... probably because I was eating unhealthy again. Work stress is just not healthy for me. Besides the stress part, it really throws me off-course with exercise and eating healthier.

Anyways, at least I got to running today. Surprisingly, I was able to easily jog for 30 minutes straight at 5 mph (~12 minute mile). I was a bit out of breath near the end, but I felt that I could probably do another 10 minutes.

My perception on how long I can keep a pace is rather poor. To test this, I walked 2.5 minutes then ran 2.5 minutes at 7 mph. When I switched to the running pace, I thought I could do 10 minutes, then quickly to 5 minutes in 30 seconds. By the 1.5 minute mark, I wanted to stop.

Some people say that they don't like to run because it is boring. I have never felt that way, but then I also do not really get bored easily. What keeps me focused is that I try to analyze how I am progressing. I am always checking how I feel I am doing to predict how much longer I can go. Sometimes, I feel a slight ache or soreness or I just feel something in certain parts of my body (like my foot or joint) then I try to change my movement to minimize the feeling. Other times, I experiment with my posture. Especially on the treadmills, I have a habit of looking down because I am so focused on the timer. I have noticed that I can run longer and faster if I simply look up.

Some day, I need to track my progress on my outdoor runs. I always find that I cannot run as long outdoors, but I also suspect that I run faster than I do on the treadmill even though I am trying to maintain the same speed by my sense alone. My other hypothesis is that it is easier to run on the treadmill because I do not actually have to move my body. Basically, I think I just have to move my feet fast enough to keep my body in a single place. The other factor to outdoors is that there are hills which I am terrible with.

I do not understand why hills impact me far greater than other people. My effectiveness at running up hills drops significantly. While most people slow down, I can never maintain the same reduced pace as others on outdoors (where I try to keep pace with someone). I wonder if this is due to me running with my feet close to the ground. I notice that I run very quietly. I also have walk rather quietly as many people have actually complained that I appear out of nowhere many times. Or that I run/jog more on the balls of my feet. I always found it odd how others make so much sound with they run. Or maybe I am just so out of shape.

Friday, October 3, 2014

Review: HP Pavilion 15z (First Impression)

My new laptop just arrived about 30 minutes before I started writing this post, and I already have it up and running. This laptop is much thinner than most laptops I have owned in the past, almost all HPs including work laptops. My last personal laptop was probably before 2010. Truthfully, I was reluctant in buying another HP because my recent experience with their laptops have been pretty bad. I still decided to go with HP because it was basically the only one that I could find that had SSD, 16G of memory, and Windows 7. I wanted an I7 but the A6 will do for the price.

I am currently waiting for Windows to update. I have verified that the specs are consistent with the website. By default, the base install takes about 46G of hard drive space. With a preliminary check, there appears to be no additional software which is a huge plus to me. I rarely ever use any of the bloatware that comes with systems today. Preinstalled virus scanners always seem to be the most bloated and a nuisance to uninstall.

I did not pay attention that this was a wide screen which is ok for me. I would have preferred the regular screen as I plan to use this laptop as my development box and the extra height would be useful. But that really is very low impact and I would have stuck with this one anyways.

The keyboard does not have a mechanical keyboard feel (with all the clicking) which I do prefer but I know quite a few people personally that do not. I cannot understand why feeling the click makes it easier to know that they pressed the button, especially now that most of us are used the touch screen keyboards on smart phones (perhaps another blog to further this discussion). Because this is a wide screen, the main keyboard is offset to the left to fit a keypad on the right side. This is rather standard for most widescreen laptops that I have used. This did take me a little bit of time to get used to as I kept missing the enter button (being used to the enter being at the end of the keyboard).

I do usually prefer the touchpad over the mouse, and especially over the joystick-nub of thinkpads. I am currently not a fan of the seamless pad where there is no distinguishable left and right buttons. This may just be a matter of time to get used to. It is nice that it provides more area for moving the pointer, but I never had a problem with that before. It also works fine with the protective plastic.

This does have a removable batter which I read somewhere is not as common as before. All the laptops I've owned always had one. The charger seems to be a bit smaller. The overall weight is not bad. Cosmetically, this laptop is ok. It is odd that the battery is black while the rest is silver, but is not noticeable since it is on the bottom and the interior is also black-ish. It is not glossy which I also prefer.

My biggest concern is whether this laptop will run hot, but this will take a while to find out. With SSD HD, I would at least expect this to run cooler than what I am used to.

Lastly a shutout to the awesome 2-day Amazon shipping. Although I was not in a rush to get the laptop, it is nice not to have to worry about delivery for the extra few days for regular shipping. I barely make any purchases, so it was nice to make use of my Amazon Prime.

Reference

http://www.amazon.com/gp/product/B00MEXDP8U/

Wednesday, October 1, 2014

Life: Blogger September 2014 Stats


Google Analytics

Sessions = 1120
Users = 1031
Pageviews = 2444

Google Webmasters

Total Queries = 327
Approximate Impressions = 8171
Approximate Clicks = 733

Google AdSense

Page Views = 953
Clicks = 1

Blogger

Pageviews Last Month = 2080
All Time Comments = **
All Time Posts = 287
All Time History Visits = 25195



* Approximations are rounded down
** Switching to Google+ comments removed the ability to count total comments