2020 in Exercise

In the tradition of last year, I decide run a report of what I have done as a year in exercise.

2020 Activities

Activity Type

Activities

Total Distance

Average Distance

Max Distance

Total Activity Time

Total Elev Gain

Average Speed

Average Heart Rate

Cycling

39

1,135.58 mi

29.12 mi

63.77 mi

122:11:45 h:m:s

40,545 ft

9.3 mph

111 bpm

Gym & Fitness Equipment

140

--

--

--

39:55:55 h:m:s

--

--

88 bpm

Hiking

18

82.33 mi

4.57 mi

10.08 mi

50:24:51 h:m:s

21,588 ft

1.6 mph

103 bpm

Other

69

657.55 mi

9.53 mi

25.67 mi

193:19:11 h:m:s

5,951 ft

3.4 mph

81 bpm

Running

213

1,278.05 mi

6.00 mi

14.68 mi

266:30:08 h:m:s

74,226 ft

4.8 mph

131 bpm

Swimming

2

0.75 mi

0.37 mi

0.43 mi

31:35 h:m:s

--

1.4 mph

118 bpm

Walking

484

515.01 mi

1.06 mi

8.36 mi

193:24:20 h:m:s

33,900 ft

2.7 mph

100 bpm

Merry Christmas 2020

christmas_tree Merry Chrismas christmas_tree

In those days a decree went out from Caesar Augustus that all the world should be enrolled. This was the first enrollment, when Quirin′i-us was governor of Syria. And all went to be enrolled, each to his own city. And Joseph also went up from Galilee, from the city of Nazareth, to Judea, to the city of David, which is called Bethlehem, because he was of the house and lineage of David, to be enrolled with Mary, his betrothed, who was with child. And while they were there,In those days a decree went out from Caesar Augustus that all the world should be enrolled. 2 This was the first enrollment, when Quirin′i-us was governor of Syria. 3 And all went to be enrolled, each to his own city. 4 And Joseph also went up from Galilee, from the city of Nazareth, to Judea, to the city of David, which is called Bethlehem, because he was of the house and lineage of David, 5 to be enrolled with Mary, his betrothed, who was with child. 6 And while they were there, the time came for her to be delivered. 7 And she gave birth to her first-born[a] son and wrapped him in swaddling cloths, and laid him in a manger, because there was no place for them in the inn.

—Luke 2:1-7

/images/2020/Christmas-story-as-a-picture-for-clipart.gif

Care Givers

I forget where I found this, but it is true. Being a care giver and taking care of your parents, in society you are concidered wierd.

This quote is true.

/images/2020/caregiver.jpg

2020 Dow Strategies

2020 has been an interesting year. Over the years, I have become a fan of stock picking in the Peter Lynch view: Good companies with good management that you understand. However, it requires time and awareness. I am also getting to the age where I need to be more conservative with my money and savings.

I have been gravitating towards Dog of Dow in my Roths in my fight not to use ETFs. Check once a year, rebalance, forget till next year. Mostly safe.

In this post, I am going to compare, in a reproducible way. VFINX will be the proxy for the market benchmark.

What I am going to look at is:

  • Dogs of Dow
    • After the stock market closes on the last day of the year, of the 30 stocks that make up the Dow Jones Industrial Average, select the ten stocks which have the highest dividend yield
  • Small Dogs of Dow
    • Five lowest priced Dogs of Dow
  • Mad Dogs of the Dow
    • After the stock market closes on the last day of the year, of the 30 stocks that make up the Dow Jones Industrial Average, select the ten stocks which have the highest shareholders yield
  • Dobermans Of The Dow
    • Rank Dow constituents by Return on Equity (ROE), keeping the top 20.
    • Rank remaining names by Free Cash Flow Yield, keeping the top 10.

All offer a subset of the Dow Industrial. What is different is how you subset then sort.

Yes, I know they all offer returns. I just like to verify and show how I came to my results.

Read more…

I believe in science

While bord, I read about scientists questioning Einstein's theory of relativity. I found it interesting. I am not smart enough to question such things. I have to accept some subjects to get by.

To scientist, science is not so fragile that they don't question it.

Questioning Einstein excited me because something that I have grown up as settled and accepted science was challanged. I cannot find the article today, but I found something that had a great quote:

"Einstein's right, at least for now," 1

This leads into the list that scientist once believed from another article titled "Let's Follow the History of Science Instead." 2 3 The list was a basis for the statement that science and scientist are fallable.

  1. That the earth is a flat disk, not a sphere, and that it resides at the center of the solar system and even the entire universe.

  2. Said earth was created like 6,000 years ago.

  3. Complex life forms spontaneously arise from inanimate matter.

  4. Species evolve by inheriting acquired characteristics.

  5. That sickness arises from an imbalance of the bodily humors or bad air (miasma!) and in either case is best restored by draining the afflicted person of blood and/or applying massive doses of mercury.

  6. Maternal thoughts cause birth defects.

  7. Human beings are not all equal but rather composed of races, some of which are superior to others. Just measure their skulls for proof!

  8. Phlogiston and caloric exist and explain combustion.

  9. If you cultivate an area, rainfall in that area will increase. “Rain follows the plow.”

  10. Another ice age was upon us in the 1970s.

I can't entirely agree with everything stated in the article; however, the main point is correct. Science is not always right. Scientists are not monolithic. What makes science less fragile is to have a theory beaten to an inch of it's life and still stand.

Now, for my statement of faith: I believe in currently accepted science, till proven otherwise. I am not willing to treat science as a religion.

References

1

Wolpert, Stuart. “Einstein’s General Relativity Theory Is Questioned but Still Stands ‘for Now,’ Team Reports.” UCLA, 25 July 2019, newsroom.ucla.edu/releases/einstein-general-relativity-theory-questioned-ghez.

2

Durden, Tyler. “Let’s Follow The History Of Science Instead.” Zero Hedge, 25 Aug. 2020, www.zerohedge.com/political/lets-follow-history-science-instead.

3

Wright, Robert. “Let’s Follow the History of Science Instead.” AIER, 25 Aug. 2020, www.aier.org/article/lets-follow-the-history-of-science-instead.

Mime encoded HMAC_SH256 in Oracle

Just going to say, mime encoding is almost as old as the Internet and is very used.

At work, we have a problem with vendor code. They are using java in Oracle. It works in TEST, but not in PROD. It is a permissions problem. I am no DBA right now.

What I enjoy about Oracle docs, is that there is amost no simple snippets of code to help or give ideas how to do things. AskTom is more the rule than the exception.

This is an example on doing an mime encoded hmac sha256 in oracle.

Pleasae note: dbms_crypt requires permissions.

select UTL_RAW.CAST_TO_VARCHAR2 (UTL_ENCODE.base64_encode(
dbms_crypto.mac(UTL_I18N.string_to_raw('MESSAGE', 'UTF8'),3,
utl_i18n.string_to_raw('KEY', 'UTF8')))) from dual;

Returns:

b41G4Q69boaNfRfITrxdIjoytRhjQ+mAou643eDJ9Ow=

The number 3 the same as: DBMS_CRYPTO.HMAC_SH256. Just that if you use DBMS_CRYPTO.HMAC_SH256 you get:

ORA-06553: PLS-221: 'HMAC_SH256' is not a procedure or is undefined
06553. 00000 -  "PLS-%s: %s"

The code above should work in Oracle 12c and above.

75 hard (my version) 7/16 start

Well, this did not go far. Visit to my folks and a 500+ mile round trip road trip in one day does not help with bladder and steps.


Just a daily completion logs. I might not update this daily, but the activity must be.

My rules from 75 hard (my version):

  • Exercise: Complete 10,000 steps day. My normal excercise regiment is more than sufficient. My weekly exercise is more than sufficient. Just check my Strava page.

  • Drink 12 cups of water or more based on Garmin's hydration with auto increase turned on (today I am expected to drink 18 cups). Only clear water or drinks for the purpose of hydration count.

  • going to skip the reading

  • Diet: Record food on myfitnesspal and complete entry every day. No food prohibitions. A cheat is not honestly logging comleting the entry.

  • Take a progress picture.

  • Day ends when I go to bed.

Day

Date

Completed

1

16-Jul-2020

white_check_mark

2

17-Jul-2020

white_check_mark

3

18-Jul-2020

white_check_mark

4

19-Jul-2020

white_check_mark

5

20-Jul-2020

white_check_mark

6

21-Jul-2020

white_check_mark

7

22-Jul-2020

white_check_mark

8

23-Jul-2020

white_check_mark

9

24-Jul-2020

white_check_mark

10

25-Jul-2020

white_check_mark

11

26-Jul-2020

x End of road - start over

12

27-Jul-2020

13

28-Jul-2020

14

29-Jul-2020

15

30-Jul-2020

16

31-Jul-2020

17

1-Aug-2020

18

2-Aug-2020

19

3-Aug-2020

20

4-Aug-2020

21

5-Aug-2020

22

6-Aug-2020

23

7-Aug-2020

24

8-Aug-2020

25

9-Aug-2020

26

10-Aug-2020

27

11-Aug-2020

28

12-Aug-2020

29

13-Aug-2020

30

14-Aug-2020

31

15-Aug-2020

32

16-Aug-2020

33

17-Aug-2020

34

18-Aug-2020

35

19-Aug-2020

36

20-Aug-2020

37

21-Aug-2020

38

22-Aug-2020

39

23-Aug-2020

40

24-Aug-2020

41

25-Aug-2020

42

26-Aug-2020

43

27-Aug-2020

44

28-Aug-2020

45

29-Aug-2020

46

30-Aug-2020

47

31-Aug-2020

48

1-Sep-2020

49

2-Sep-2020

50

3-Sep-2020

51

4-Sep-2020

52

5-Sep-2020

53

6-Sep-2020

54

7-Sep-2020

55

8-Sep-2020

56

9-Sep-2020

57

10-Sep-2020

58

11-Sep-2020

59

12-Sep-2020

60

13-Sep-2020

61

14-Sep-2020

62

15-Sep-2020

63

16-Sep-2020

64

17-Sep-2020

65

18-Sep-2020

66

19-Sep-2020

67

20-Sep-2020

68

21-Sep-2020

69

22-Sep-2020

70

23-Sep-2020

71

24-Sep-2020

72

25-Sep-2020

73

26-Sep-2020

74

27-Sep-2020

75

28-Sep-2020