Categories
Fixing Stuff

Fixing WooCommerce Error

I was having the following error today on a woocommerce enabled website:

Division by zero in woocommerce/content-product.php on line 33

To Fix this issue:

1.) Navigate to Appearance > customize > section Woocommerce
2.) Change the selected column amount, grid style, and products per page.

*really just changing one will work, then save. This change is all you need to do, you can even change back to the original layout, woocommerce just needed to be saved in a different format.

Categories
Baseball

Breaking Down Jason Heywards deal

Jason Heyward left to joining the Chicago Cubs. People everywhere are promoting the idea that he left to join the cubs for less money than what the cardinals offered him. I’m going to break down why I think that is not correct, and why Jason Heyward maid a shrewd business decision that was all about money.

Offers:
Cubs 8 years, 184 million
23 million/year
Heyward has 2 outs, one after 3 years and 1 after 6 years

Cardinals:
10 years 200 million
20 million/year
No outs

In my view here is why Heyward choose the contract he did, it sets him up for a better contract in 3 years, and also gives him more guaranteed money now.

First 3 years
The first 3 years of Heywards deal reportedly pay him 78 million. That’s 26 million/year (factoring in bonuses). He has a clause to leave the contract without penalty after 3 years. If Heyward is doing well, he will leave the contract and pursue free agency. He will only be age 29, setting him up for a long term 8-10 year deal that will pay him well into his late 30’s. Had he taken the cardinals offer he would be coming out of that deal at age 36 will no viable way to get another long term deal.

In conclusion, Heyward chose:

26 million/year vs 20 million/year
The ability to hit free agency again at age 29 vs ability to hit free agency at age 36

Categories
Fixing Stuff

Great repair vid on cleaning furnance flame sensor

With it getting cold out, the furnace in my rental unit starting malfunctioning. It would cycle on, burn for about 5-10 seconds and then cycle back off. Typically when this happens the flame sensor is dirty and is causing the furnace to cycle on/off. The reason this happens is when the flame sensor is dirty it does not property detect that the furnace is on. It then sends a notice back to the furnace motherboard reporting that the furnace is not on. This causes the motherboard to cycle the furnace to try and “turn it on” which in turn causes the never ending power cycle loop.

Link too Good video explaining how to clean a furnace flame sensor.

Categories
Samuel Thoughts

Why do people refuse to apply the same logic across different topics

The recent unrest at Mizzou is what lead me to finally writing about this topic. The items below are only a few of the many topics where I find the hypocrisy of society overwhelming.

Left leaning social movements:
Protesters get irate when police officers forcibly remove journalists from the Ferguson protests
When protesters demand “safe space” and forcibly remove journalists from their protest they are defended

Right leaning evangelicals:
People demand that the government leave them alone and stop interfering with their lives
This same group of people turns around and tries to force government officials to pass laws that allow the government to interfere with marriage and attempts to deny women the basic right to make their own choices for matters that affect their own bodies.

Right leaning tea party types:
People cry foul of government regulation getting in the way of too many personal liberties
These same people turn around and demand the government outlaw all drugs and “wage a war on drug users”

Left leaning progressives:
People talk about how prohibitions never work, the yell about how the war on drugs is not effective and how you can’t legislate morality
This same group of people turns around and demands that the government put a prohibition on owning firearms, and they yell from the rooftops how if you make guns illegal it will solve our problem of mass shootings.

The list really could go on for several more of these, but the moral of the story is I just have a real hard time comprehending why most people don’t see the hypocrisy in their view points. Everyone wants to push their own agenda ahead, and take no time to pause and reflect on how to apply their views evenly across a large set of issues. This kind of mentality makes me sad for our country.

Categories
Samuel Thoughts

2 weeks of ideal food

Breakfast:
1 egg and 3 egg whites
1 cup of oatmeal
green machine drink

Lunch:
grilled chicken or fish
rice (brown or white)
oats and or peanuts

Dinner
grilled meat of any kind
sweet potato & green vegetables
whole milk & protein for dessert

Snacks
2 cups of baby spinach any time during the day (vinegar & oil dressing)

Categories
Fixing Stuff Samuel

Fixing FlashFXP Site Import Error

If you are like me and just re-formatted your computer and are getting the following error from FlashFXP never fear I just found a fix and its pretty simple. Error in question:

An Unexpected error occured while saving your application data. Your Changes have not been saved. Please restart FlashFXP. E2 = C:\ProgramData\FlashFXP\5\schedule.dat

flashfxp-error

To fix this error do the following:

1.) open up my computer and navigate to C:\ProgramData\FlashFXP\5\ (please note the folder ProgramData may not be visible, it was not on my computer. Just type it directly in the nav bar to get there).

2.) delete the file schedule.dat (do this when flash fxp is closed)

3.) open up flashfxp, the file should be re-generated and the error message should no longer pop up.