Showing posts with label comparison. Show all posts
Showing posts with label comparison. Show all posts

Wednesday, August 12, 2026

Review: HeidiSql vs DBeaver > Simple MariaDb database backup

I have about a gig worth of custom data in MariaDb in a docker container on a Linux server. I just wanted to do a simple backup of a database that I have been manually entering data for about 6 months now.

I first tried in DBeaver and I keep getting an error but cannot figure out why. 

1. Database > Tasks > Create new task...


2. MySQL dump




3. After executing the task, I get error.




I could not find more details on the error, so I just went to HeidiSql to perform a backup because I had successfully done so in the past. I thought maybe there was a data issue.


1. Right click on the server name

2. Export database as SQL

3. Click checkbox to select all databases

4. Output: Single .sql file

5. Filename: [location to put the file]

6. After a few minutes, it completed just under 1G of data.

Friday, August 2, 2024

Life: Why I haven't had a BofA credit card

My first "main" bank account was with what is now Chase. Life at Chase was perfectly uneventful. Then I moved to a location where Chase was less popular before the Fin crash of '08, and I got myself a BofA account because a branch was the closest one.

So many things were not automated like paying my credit card. At first, I thought it was because it wasn't the bank's credit card. So I suffered through that and eventually I moved again where Chase was more readily available and basically stopped using BofA.

Years later, technology is advancing more beyond my mom's capabilities so I started managing her bills. One of those was for a BofA credit card. She also has a BofA account and is now years later. At this time, you kind of could pay through some other payment system but it cannot pay the full credit card amount. You can only specify the minimum or a fixed amount. Just baffling to me that I had all these capabilities from Chase so long ago.

What a suffering that was to manage for my mom. She would get frustrated on trying to pay online. Because she was no longer getting paper bill, she doesn't remember to pay. I have been on several support calls with BofA to waive the late fee. BTW, BofA support was wonderful except for the waiting part. It is basically the only reason my mom is still with BofA to this day (also doesn't hurt that they finally eventually caught up technology-wise).

Now it is finally on full auto-pay and we are all happy except my mom still would like the paper bill but we convinced her it is greener this way. She is also a bit more tech-savvy now (or maybe that I am now physically farther than my sibling).

Any case, posting this as a reminder the importance of first-to-market or at least keep up with the competition within a reasonable amount of time. Chase and BofA are now relatively close to me but the memories have kept me away from BofA even though they now look modern (and possibly more advanced than Chase... wouldn't know since I haven't tried again since then). 

Saturday, September 9, 2023

WinMerge: Excluding files Appears to not exclude file but kind of is

When I use an exclamation in the filter like !*.txt to exclude txt files, it always seemed like it came up in the results. What I "failed" to realize was that txt files will still appear in the list while the compare is going on. Once the compare is completed, then it removes it from the results pane.

I have only used this in my work experience when comparing tens of thousands of files, so I never let the compare complete before fully "testing" the exclusion. I have to say this was quite confusing. I have only realized this weeks later when I actually left it running due to other distractions and realized no txt files were in the results.

Monday, August 8, 2022

Life: Encouraging People to Learn to Code/Program/Develop

There is a lot of context to baseline here. By people, I mean the general population. By coding, I mean software programming like assembly, C#, or C++ on a very basic level. And the issue I am try to address is why many people find programming too difficult to want to learn.

Although easy and hard are relative, I am going to generalize that when most people say that it is hard, they mean that they do not want to bother learning or even understand it. Yet, they can follow the most complex story lines, office politics, and so many non-standard social norms on a regular basis.

We are in an era where technology is being embedded everywhere. Knowing how to code will likely be needed everywhere whether you are a waiter, box mover, design, doctor, lawyer, president, etc.

To me, the odd part is that coding uses a very tiny subset of our language yet executes the result nearly 100% of the time. So it should not be difficult to at least understand. In some ways, it basically is a simulation of logic.

The troubling part when I hear people not wanting to understand coding is that I "hear" them say that they don't want to understand logic and leaving that for someone else to fix.

Tuesday, September 28, 2021

Interview: Good or Bad? Google, Amazon, Microsoft brain-teaser interview questions

This is a good question to understand a candidate's ability to problem solve.

Super vague and opiniated history of question

Just historically, Google and Microsoft have asked these questions since 2000. And see how much they have grown since then. The extremely vague and generic macro outlook to me rather indicative that something was right during that period of time. My guess why this was more effective in the beginning because the people who wrote the questions knew why they were asking the question.

Now there are too many people who do not understand the intentions of the question.

Not For Interviewers

The biggest problem to these questions is the interviewer. Majority if not all interviewers do not even understand the intention of the question. The main reason is that interviewers just ask a list of questions that need to be answered. The company gives them the list, and they ask it. So like many other questions, they think the right answer is the correct answer.

I've interviewed with many companies who have asked these questions, and none knew the intention of the questions. I know this because I knew the answers to all of them. There were a couple new ones but they were far easier than FAANG. When I answer them, the interviewer are easily impressed and moves on. In many cases, I would even give them other questions I knew of and they would be even more impressed.

Even if the interviewer has some clue to the question, they have no way to score a candidate like they can with technical questions. Also interviewers are not hired to have problem solving skills, so how well can they judge another person's problem solving skills? 

So basically, this is not an interviewer question. This is a hiring manager's interview question to ask and only if the hiring manager understands why they are asking this question.

Why the question?

The point of the question is to understand the candidates problem solving skills. In my opinion, this is one of the most important skills I look for. The main reason is that technology is always changing and I can train information, but I cannot train (or at least have no time to train) problem solving skills. I am looking for the candidate's ability to take the problem, break it down, ask questions, etc. 

The question is actually meant to be nearly impossible to solve for most candidates. That is probably why arbitrary questions became a thing too (like "how many tennis balls fits in a jumbo jet"). Because everyone became so obsessed with the actual answer than the reason why they asked it. And knowing the answer is quite useless for software engineer employees. If there's an answer, it is cheaper for the company just to buy the answer. What the company needs is an employee that can solve the problem that doesn't have an answer to it.

Bad Hires from Traditional Interviews

One example in my life on this difference was this one time that we hired a highly certified employee. He had many, many Microsoft/Cisco certificates. He had a lot of work experience. His projects were never completed. Near the end of his employment, the owner had me help him with a project and he couldn't tell the difference between a class and an object. I told the owner that he wasn't worth the time to train. We could hire a college grad that could do more.

Another example was a college "graduate" that was tasked to setup a computer with Windows. He was provided an install CD. He installed, then got stuck with a video driver. A bit odd for him to ask for help with this, but I answered his question. 6 hours later, my colleague calls me over and we find that he never installed the video driver because he didn't which video driver to install. The PC case was already open, and I just google the video card name and it was the first result that comes up. My colleague told me that he just told our boss to let him go. I learned that he had actually asked everyone how to install the video driver and still couldn't figure it out. We also found out later that he didn't actually graduate but dropped out of school.

Another example was a transfer from another department. He came with a lot of recommendations from his previous group. He was also very good at talking and making others feel good. Although he had the credentials, he was not able to do anything on his own. Every task had to be spelled out, even if it was a repeated task. Not only did it have to be explicitly written down, he had terrible attention to details. This was almost clear to me within the first 5 minutes of interacting with him for the first time.

My final example was a person that we actually hired before and basically fired for incompetence. I did my best to give her the benefit of the doubt. Even then, she was only able to accomplish two tasks of thousands of tasks. The two tasks being to copy a file to another server (which she actually copied to the wrong server... twice). I even had her screen share and watch her do it incorrectly, then corrected her (just to make sure she had access). At the end, I had her delete the file and have her do it again on her own. She was never able to do this for an entire week with a daily reminder. She was hired to be a procedure manager and she could not even copy files (she had plenty of tasks that was to set up meetings or talk to people but none of those were ever done).

My point with all this was that they all passed the interview. I did not interview any of them. To this day, I have no clue how they even lasted 5 minutes. I think firing people is harder than rejecting, and I wanted to fire all of them within minutes. I think the brain-teaser or open-ended questions are great to weed these people out.

Many candidates that I have recommended are either the longest tenured, promoted, or very well-liked.

Other Questions

These brain-teaser / open-ended questions should not be the only question to determine a candidate. This is just to understand the candidates ability to problem solve. 

One type of candidates that do well but are toxic to the company are the ones that are very smart but also have very big egos. So it is important to ask other questions that will determine their ability to work with others. In general, you do not want those candidates. If you do, then you need to make sure they and your existing staff have the right environments to handle such situations.

Another type are those that often cannot stop asking questions or only sees problems. The main problem with these candidates is that they analyze too long. A group could afford maybe one of these candidates if they are very good at identifying critical issues, but it is equally important to have someone that counter-balances to make sure things still move forward.

Reference

https://douglastclee.blogspot.com/2013/02/interview-oddball-and-riddle-questions.html
- Almost seems like I contradict myself here but not really. Will have to review that post in more detail.

Monday, September 13, 2021

Thought Experiment: Why more good than evil, good over evil, good triumphs evil

The age-old question of whether we are born good, evil, or neutral is one that we ask ourselves some time in our lives as we attempt to figure out who we are and understand others. Depending on what recently occurred, I have swung through each of the options in the past.

For a long while, I have believed that the question is not really a valid question because it was too muddled by what each term meant. Somethings are good to some, evil to others, and lastly the rest do not care at all. But because of all the superhero movies that have been coming out for the last decade, this has gotten me to thinking why does "good" triumph over "evil".

And in my limited reality, I feel that people are good. There is a lot evil events in the world, but when compared to the mass of the people, it really is the smaller percentage. But even then, I think people want to be good so there are even fewer people who are evil to be evil.

I think this is evolutionary because it is easier to survive by being good even though sometimes we believe that good people finish last, but rather good people stay alive whether it is physical, financial, or social. It is easier to be good because we do not have to put as much effort in being helpful to others than being evil.

To be evil takes a lot of energy and time. On the basic level of just pure evil, people seamlessly group together to fight a common enemy. This leaves the evil people who need to fit in with the good people.

These people then need to understand two worlds, one is the lie that they live and the other is hiding their true intent. This also scales down to smaller evil deeds like corruption, self-promotion, or even white-lies.

Even just braving a smile but dislike the person underneath takes more energy than just ignoring the person. If we could tell the difference, we would prefer to be with the person who is more forgiving.

I believe that simply by having good intent is natural because it is fundamental to our ability to survive because we do not waste as much energy as evil people. This would also explain why many of the unsuspecting evil people are highly intelligent. I get tired just remembering who doesn't like to hang out or work with other people. Many times, I believe that I only seem intelligent because I do not waste a lot of time with rumors where I tried to keep up but I became physically drained. I really do feel dumber as I figure things out because it always seem others seem to pick up on social cues and little tidbits so much easier than I do.

So although I have had some evil thoughts, I am probably too stupid to be any good at it. Unfortunately, this does not cover where my good intentions may clash with someone else's good intention. For example, the US presidential election nominee selections.

Well, it kind of does but not as cleanly defined as the prior examples. Although I believe people are well-intentioned, this area points out how lazy we can be. If we believe someone else will do something or if we do not understand which option is correct, we do nothing. On the extreme end, we have the capacity to become silent witnesses where we do not call the police even though a major crime occurred in a somewhat public area believing that someone else would have called it in. On a lesser end, we do not report misbehavior especially in a work-place because we are afraid of our social status of being a tattle-tale.

So the majority of people agree on good-intentions when life and death is the ultimate result, but when it comes to evil activities that are not life and death then our good-intentions become fuzzy even when we know what is right and wrong. If we add in evil activities where people believe they won't be caught or punished, this becomes even more dicey (like speeding when driving).

Then what is good people? Those who have more good-intentions than evil ones? Those who only have good intentions? Ultimately, I think the general population are misguided well-intentioned people. Our conflict is primarily on short-term gains versus long-term gains. Basically, when is good-enough, enough?

Wednesday, January 29, 2020

My Thoughts: Learning Linux is hard (from Microsoft products) but worth the price?

The amount of information that is purely leaking out of my head as I write this article is just ridiculous. I just finished configuring Django/Python, Debian, Apache, MariaDb (after PostgreSQL), Google Cloud, PuTTY, DBeaver, Eclipse, and Git from scratch (no knowledge). That experience was so very tedious.

If I were to do this again, I would have learned Java and MySql first. The rest are fine. The biggest hurdles was reading documentations for MariaDb which some doubles from MySql. This worked for the most part, but in some rarer instances, MariaDb has kind of split from MySql. So, I spent a lot of time following directions that didn't work. Django was an added layer too because I was not sure if it was Django configuration or an Apache configuration. I think by going with Java and MySql, I would have one less layer of technology to figure out where my problem was.

Another hurdle was that I was working of a Windows system while configuring these technologies on Google Cloud. Of course, I also went with Debian without the GUI so I had to learn all the terminal commands. I did not setup a comparable environment on my machine so I had to upload to Google Cloud to test things. This of course meant that I had to figure out how to connect PuTTY and DBeaver to Google Cloud.

Visual Studio may be a good alternative to Eclipse and DBeaver. That I am not sure would have been easier or not. From my experience most people in this tech stack typically use Eclipse. I am not so sure about DB IDE.

Compared to my experience with Microsoft products, this was much much harder than learning MS products. Wizards, tutorials, how-to instructions, etc. were all levels easier to focus on the configurations that needed to be changed. MS definitely got my up, running, and programming within the same day. This took me about 3 weeks only weekends and some nights, so maybe equivalent to 10 days of actual work. Either case, way longer than it took for MS. Maybe this is a sign of my age...

As for pure learning curve goes, MS is way easier and faster.

As for performance, empty shells of a project is already way faster than empty MS projects.

As for price, MS is way too expensive.

In conclusion, there are pros and cons to both. As a person that wants to make decent wage to effort, learning non-MS product is worth the price as they are paid more in general for similar jobs. Good MS developers can still be paid well in higher tiers but there are fewer available openings and more lower quality developers vying for the same role plus managers who cannot recognize good talent.

Friday, January 24, 2020

My Thoughts: MySql or MariaDb for Beginners in 2020

MySql for learning purposes.

Go with MariaDb when you have more experience with MySql. Most things you will need are supported by both DB. Once you have more experience, you can move onto MariaDb if you believe that is a better option.

One of the biggest reasons is that there is more resources available for MySql. Most MariaDb refers to MySql, but it seems to be starting to branch a little. 

Another big reason is the a graphical interface, GUI, or IDE. Most are not free for MariaDb. Although some articles say that you can use MySql, there are also recent articles that state that MariaDb is starting to not work or less stable. From personal experience, I have had no problems with DBeaver with MariaDb.

Wednesday, December 18, 2019

Buggish: Microsoft Email Spam (Junk) Filtering

I have a gmail and hotmail account that has made it into the global spamming list of emails.

I barely receive any junk mail in the gmail account. I almost most definitely don't get any of the same or similar emails after I mark it as junk.

In my hotmail account, I get 10-20 junk mails a day of spam. I do not understand why this filtering is so hard for Microsoft to track as most of the junk look almost identical, and if not identical the same format. Of the easiest junk mail to track are the ones with subjects that start with an icon image. I get emails that are not even addressed to me. I get emails that is addressed to a single person in the body but sent to a group of people. They all have images that link to a domain that is not in the from address.

At the very least, I do not see emails with massively misspelled words.

Sure none may necessarily mean it is junk mail, but majority have multiple red flags. I don't even think you need AI to filter most junk mail. But now with AI and big data, this should be even easier for a company like Microsoft to figure most this out.

Monday, December 2, 2019

Wendy's vs Burger King's Dipping Sauces with Nuggets (taste test, purely personal taste)

I randomly decided to do a side-by-side taste test between Wendy's dipping sauce (W) and Burger King's dipping sauce (BK).

My Personal Preference

Honey Mustard = W
BBQ = BK
Ranch = BK
Sweet & Sour = BK



W 50 nuggets for $9.99 or 4 for $0.99
BK 10 nuggets for $1.49 :: 50 nuggets for $7.45


W also has spicy nuggets which I typically prefer plain. BBQ and ketchup are acceptable with spicy nuggets.

W also has S'awesome sauce and Creamy Sriracha. Both are ok.

My personal preference in sauces in general across all foods is honey mustard. I do not like ranch across all foods.

With nuggets, I prefer honey mustard and BBQ. Although, I prefer BK and McD bbq over honey mustard.


Hope this is not too detrimental to my diet...

Saturday, May 20, 2017

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.


Saturday, August 20, 2016

2 smaller workouts VS 1 big workout (part 2)

Near the end of last month, I walked about 50000 steps in a single day. I was near 40k steps before my volleyball game. That day was also one of the hottest and most humid days. After a couple of intense points, I was breathing very hard and I can feel my heart rate really pounding. Even after the match and sitting for half hour, my heart rate was still pretty high. Some time during that day, I think I injured my knee. I didn't notice it was sore until the next day, and my knee is still sore today (~2 weeks).

Because of this, I went back to a single workout days. My weight has maintained the same throughout the 2 weeks. One difference to the previous 1-day workout was that I only walked but extended to 1.5 - 2 hours which included more weight lifting. Although I maintained weight, I did notice that my upper body becoming ever so slightly more lean. The first indication was that my arms can now touch more of my sides.

My knee has improved a little. It feels most sore after my body has cooled down (especially when I wake up). Once I have warmed up, the soreness goes away. I can feel my knee when I jog (around 6mph), feels fine around 5mph. I only did this for a minute just to test my knee. Soreness is worst if I lift my leg, leaving my low leg hanging. I can mitigate some of the pain if I squeeze the sides of my kneecap. Fortunately, I was able to do some jogging this morning in the park. The soreness today is extremely mild except after I get out of the car after driving.

Overall, I think my hypothesis is still that two half workouts are better than a single whole workout. I feel that 30 minutes is a good target for a small workout, and 20 minutes is the minimum for an effective workout. But that does not mean to avoid moving if you have the chance if you only have 5-10 minutes, or to stop after 30 minutes if you have more time.



Reference
http://douglastclee.blogspot.com/2016/07/2-smaller-workouts-vs-1-big-workout.html

Thursday, January 21, 2016

Skiing vs Snowboarding (IMO)

I've skied up to high school, snowboarded since until last weekend. I returned back to skiing and was a lot of fun.

I enjoyed that I no longer had to unstrap before getting on the lift then restrap after the lift. I liked that I had more control on the speed especially with a group that had a lot of diversity in skill-levels. When I was on my own, I was able to squeeze in more runs. I don't have to worry about being stuck on flat paths. I had poles to help balance.

One thing I dislike about skis are the boots. Also, I thought it was a little more tiring to ski. Snowboarding could be a little more relaxing. Otherwise, there is little else that I preferred in snowboarding than skiing except for maybe a cool/skill factor.

If you are deciding between the two, my recommendation depends on your tolerance of fear. I think it is faster to pick up skiing if you more averse to fear of falling. If you are ok with taking more risks, snowboarding may be easier. The reason is that most people afraid of falling will naturally lower their center of gravity. This is not very detrimental to skiing but makes it much harder to learn snowboarding. To add to the fear, there will be at times when you'll be snowboarding with your back down the slope. Some people feel more uncomfortable not be able to see everything.

Another factor is flexibility. You will need some flexibility to continuously unstrap and restrap your snowboard. So, you will need to be able to bend over and reach your ankles with slightly bent knees. You'll also need some agility to slide with one foot like a skateboard.

Saturday, June 20, 2015

Microsoft Word Online (First impression) compared to Google Word

Disclaimer: I typically prefer Google's solutions so my opinion may be biased but I try not to be. I have also been using Google Word for a good period of time, but have only used MS Word Online in the last couple days.

Overall, both solutions meet the basic needs for editing a word document.

So far, Google Word is by far more superior to MS Word Online. MS Word Online is also far behind the capabilities available in MS Office Word so there may be hope in the future of MS Word Online.

As of the time of this post, there are several things lacking in MS Word Online that is available on Google Word both of which are free as long as you have a login. Here is the list of things missing:

  • Revision history
  • Keyboard input (useful for international languages)
  • Offline viewing (personally, I never used this in Google)
  • Table of Contents (this was a huge surprise)

Pros:
  • Similar layout to MS Office Word*
  • 1-click styles (I use this all the time, Google word requires 2 clicks**)
Cons:
  • Errors creating/loading word document***

* I know most people do not like the MS Office Word ribbon style, but I have really adapted to the ribbon and find it much more effective. I will admit that there is quite a relearning curve.
** There is a keyboard shortcut for Google word, but ctrl+alt+# is not a simple combination. 
*** This may have been temporary.

Other Notes:
I used Google Chrome for both. This may or may not have a difference to the experience of MS Word Online. I do not plan to test this in IE, maybe Firefox if only Chrome is not available.

Sunday, January 11, 2015

C# Session.Abandon() Event Process Not So Intuitive

Unless you understand how all the events are triggered within the webserver, a casual programmer may not necessarily understand the first time they use this method/function.

I was programming the login and logoff process. I use Session.Abandon() to clear the sessions. On the master page, I have the typical welcome user and log off hyperlink which should be cleared when accessing the logoff page. But it does not and remains on the corner of the page. After stepping through the debugger, the session still exists.

This is because the session is not cleared until all transactions have been completed. This is confirmed both on the Microsoft site and Stackoverflow site. I'm sure there is a reason for this.

Abandon vs Clear

The two links do a pretty good job of explaining the differences but it was not completely clear what impact this had on coding. One interesting comment was that they used Clear and Abandon. The counter-comment was that this was redundant.

I found that this is not redundant as the third comment has pointed out. The reason actually is the way I should have executed my logoff process because Clear() will "nullify" all the session values, then Abandon will clear out the session (supposedly the session id) as I would like a different session id if a different user is on.


My Programming Experience

Although I have been programming for several years in the past, I have fallen so far behind on a lot of new practices. I have enough knowledge to probably transition between one programming language to another, but not enough to program without a reference book or revisiting a lot of less-used functionality or program once functionality (ie login and logoff). I probably just used a flag in my past career life.

I had to look up the C# page even orders. I recall this was one of my interview questions. There is a bunch of events, but I typically only had to worry about init and load so I probably just answered that question poorly (mediocre at best... I knew a couple others but not the specific names).

Reference

http://msdn.microsoft.com/en-us/library/ms524310(v=vs.90).aspx
http://stackoverflow.com/questions/1470445/what-is-the-difference-between-session-abandon-and-session-clear

Wednesday, October 8, 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.

Sunday, September 7, 2014

Work: Am I Solution Finder or Fault Finder?

The way the question is worded, I would imagine almost everyone would answer that they are a solution finder. Who wants to be just a fault finder (i.e. a professional tattletale)? Of course if I word it that way, no one would ever claim to be one.

For me, I often a solution finder even to the point where I stretch my responsibilities like creating an in-house tool, script, program, wiki, etc. to make my work and sometimes the group. I also feel that I am good at providing a plan to success particularly with my peers. Feeling like a coach at times, I stress about the way things are than the way things are supposed to be. Because of this, many of my peers have stayed a significantly longer than previous employees.

Although I am more positive and enthusiastic, I feel that my value to the company is oftentimes stunted. I seem to fail to convey the importance of my ideas even after I have exemplified the success of smaller ones. Many of what I have worked on still exist at the companies even after 10 years (I stay in touch with many of my former coworkers).

At my current employment, I feel that my enthusiasm to contribute solutions waning each quarter. Either my idea is not within my manager's goals or there is no budget for it. I even offered that I could do it offline. Yet, I keep hearing that management wants new ideas and I still do not see any changes within the last couple quarters. I am becoming quite frustrated in my current employment. Now, I just primarily just keep notes of what I think our group should be doing and recording some information about what works and what does not.

Another source of my aggravation is a coupe of the senior employees (20 more years over me) can only complain. Even some of the solution they come up with are rather weak. My peers and I have oftentimes provided alternate solutions but usually are turned down and forced to work on their plans. Almost every time, we run into all the scenarios that we had mentioned in our initial meetings. Not only that, the story line is twisted to make it seem that it was our fault because we did not push our opinion.

Although I do like to rant at times, I am saying this because this is a more complex example of a fault finder. They do not just find problems here and there, but they know that they should be solution finders so chooses their own so they can get credit for creating a solution. Many of them are also finger pointers which in my opinion is another form of fault finders. 

So am I a solution finder or a fault finder. It seems that I am becoming more of a fault finder but mostly to keep myself sane and feeling trapped from providing a solution. There is only so many no answers that a normal person can bear before just giving up. This is how I feel within my current employment. Outside of that, I relieve my stress by coming up with other solutions. I hope one will someday take a more solid shape.

Anyone have an recommendations how I can get through old-school corporate lifestyles?

Wednesday, April 16, 2014

Life: Should I get a Smart TV or a larger regular TV?

I am needing a TV. I have not owned a TV since 1999. There was a brief time that I had a roommate with a TV but even then I rarely ever used it. During that time, TV has changed quite a bit.

One of the new features is the Smart TV. I am torn between a 60" for about $1000 with a 55" with Smart TV for $1175. Is $175 worth a new feature but a smaller view screen?

At first, I was torn because the concept sounded nice but I could just connect a PC or laptop to the TV. I could probably buy a small micro box or used system. But it would be nice if it was automatically integrated with the TV. Then, what about updating the software? And who maintains the OS, upgrades, etc.?

After reading the reference-1, my thoughts were confirmed. There did not seem to be a good reason for me to get a Smart TV (although the thought of developing a third party application did cross my mind).

Technically, this will be my second TV purchase because I bought a 19" for $100 just so that I had a TV to test out my TV service. I really wish there was an easy way to continue to use the small TV without having to rent another top set box.

I've been reading about Chromecast. That appears like a nice solution for the small TV although I probably would not be able to get regular TV service on it.

Also like to mention that there are also different types of TV: LED, LCD, and Plasma. Today, most TV sold are LEDs (fortunately less thinking for me). There were a couple Plasma which are much, much cheaper than the LED of the same viewable size.


Update

Unfortunately for me, by the time I pulled the trigger there were no more un-smart TVs. >:o

But fortunately, someone happened to return a 60" Sharp Smart TV so it had a 10% open box sale. The person returned it because they ended up wanting a larger TV so it was practically brand new. Sweet! I ended up buying that for around $1200.

I've had it for several weeks and every show I watch is new to me, so marathons are such time wasters! The logical part of me is telling me that life before a TV was much better. I played around with the Smart TV but I do not use it much. I ended up buying a Chromecast and it has been great for me, so I definitely would not recommend get a Smart TV if you have the option and save a couple hundred dollars. Chromecast may not make the Smart TV function obsolete, but AppleTV, Roku, or Amazon Fire will probably come close and have additional features. Chromecast is the cheapest of the options. I have a post on my first impressions (reference-2).

Reference

[1] http://www.rtings.com/info/what-is-smart-tv
[2] http://douglastclee.blogspot.com/2014/07/review-chromecast-first-impression.html

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)

Tuesday, March 4, 2014

Work Life: Hire Character. Train Skill.

"Hire Character. Train Skill" ~ Peter Schutz

I saw this quote on LinkedIn and thought it interesting. Although it sounds nice, I have rarely found any company that train any skill sets. Maybe that is because of my limited knowledge of different companies. I would guess that I know about 10-15 companies.

Even with that said, character is still very important in the dynamics of a company. For example, I work very well in an open-knowledge environment where people share information and their knowledge. This is very evident in my current role where the group is slowly converting contractors with employees.

Although it is odd that contractors are more open about their work, I think the main contribution to this difference is the age group. The contractors are a much younger generation than the transferring employees. The employees are coming from a very old technology group that is slowly phased out.

It makes business sense from a 1000 foot view why this transition is happening, so I am not going to delve too much into that. What I find interesting is that the incoming employees are very possessive of their work, but not aggressively possessive. By this, I mean that there are small nuances in their behaviors that make it more difficult for our group to adapt to certain issues.

On top of that, they are very compartmentalized in their view of their roles. Before, we share some responsibilities when we are overwhelmed with a certain task. Thus, we were somewhat interchangeable in our roles. If one of us were out, someone else could easily back up for a small period of time. Now, the new employees are very reluctant to explain what they do and very reluctant to take other work. Oftentimes, they just say that they are too busy with their work.

What I really dislike about this is that meetings now require more people which in turn makes it less effective for each person on the call. Today, there is a call that requires three people from our group because it impacts three different roles. One of the roles is more encompassing the other two which was assigned to one of the employees.

I have been trying to explain that she was the only person needed from the call because she has access to our data. We only contribute about 5 minutes worth value to a 30+ minutes meeting. Although I've explained this, she says that she is too busy to know that information thus requiring us on the call.

It may be possible that she is very slow in this, but I used to manage her role, the one I have now, and other roles. I used to do all that before without a lot of problems (yes, I am not fully utilized now but I use the time to learn the technology and help with other more value-adding processes). Thus, I have a very hard time understanding why she does not have time for something that took me about 4 hours a week to do (I tracked that because her predecessor also had the same time issue).

Even if I was wrong in my assumption and she really is busy, she is also on my daily calls that provides the status to the very information that she needs and something she should be tracking. Of course her excuse is that she is multitasking so does not know what is going on. First, my list is a subset of hers thus there is really no reason for her not to ever be doing something else. In other words, all my items are relevant to her list. Second, if she does not get anything from my meeting then she should not need to join my meeting.

Basically, the newcomers are not as focused in making our time more effective. With each new person, this pattern seem to be normal and also seem to be acceptable. At the same time, the general feel within our entire project group is that quality seem to be decreasing. This has been going on for over half a year.

I guess that was a long way of ranting and saying that character is important because it changes the dynamics of the group. And sadly, I'm not sure if it is better to hire character than skills. Although skills can be taught and character may have greater impact, my reluctance is our ability to understand someone's character within a short interview process. Even then, can any character pick up the required skills needed?