All posts by Mark Jacobsen

It’s not the critic who counts

Yesterday caused me to be reminded of this great quote by Theodore Roosevelt…

“It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who neither know victory nor defeat.”

My 1 Word for 2017

For a few years now I’ve watched as people I follow have picked 1-3 words to focus on. As Christopher S Penn as described it, “It’s something of a mantra, something of a phrase we used to remind ourselves what we are supposed to be focused on at any given time during the year.”

While interesting, I haven’t taken the time to do so until this year. Now I realize the first month of the year is almost over, but I picked my word near the beginning. Plus, now that I’ve had a little time to test it out I think it’s more appropriate to write about it. So without further ado, my 1 word for 2017 is…

Present

…and in case anyone is confused about what variation I’m referring to it’s “the period of time that is happening now”. In other words: being present in the present. Some may call it being mindful.

On the off chance you’re wondering why I happened to pick being present it mostly has to do with building connections and trying not to miss things because I’m distracted. Our kids only grow up once, and if you’re buried under a pile of work or have your nose buried in your phone you’ll miss it. I think this video does a great job of touching on the topic…

… So now, if you’re like me you’re probably asking, “ok, so what are you actually going to do?”. I’ve already started by turning off nearly all notifications on my phone (yes, there are a few exceptions, but it would probably be in all of our best interests to find the notification settings on our phones). I’ve turned off email notifications at work (no, I don’t need the toaster popping up every time I get an email). I’m trying to remind myself to keep my phone in my pocket except for when I’m sitting down and not with others (lunch, walking the halls, etc). And as of today I’ve buried the Face Space app on my phone (will still be able to post, but the goal is to not check it except for 1 time a day and from a laptop/PC).

What about you? Have you ever picked a word or words to focus on for a year? What did you pick and why?

See also:
http://chrisbrogan.com/3words2017/
http://www.christopherspenn.com/2017/01/my-three-words-for-2017/
http://myoneword.org/pick-your-word/

Canada Creek Ribs

I had blogged this a number of years back, but due to changes it managed to disappear from the interwebs. Back for everyone’s benefit…

Anyone who knows me knows that I’m not the cook in our family, but every so often I come across a recipe that becomes a staple. I think I found another one…

While hanging out at my college buddy’s cabin in Canada Creek (near Atlanta, MI) he made the most delicious, fall off the bone baby back ribs I’ve probably ever had. Naturally, I had to get the recipe.

Go to the store and get…

– Baby Back Ribs
– Sweet Baby Rays BBQ Sauce
– Garlic Salt
– Paprika
– Hickory Salt (I used Hickory Bacon Salt)

The morning of (or the night before), sprinkle the Garlic Salt, Hickory Salt, and Paprika on the ribs, wrap them in aluminum foil, and stick them back in the fridge.

Appox 5-6 hours before dinner, put the ribs (still wrapped in aluminum foil – I’d also suggest on a cookie sheet) in the oven at 300. Let them cook for 4-6 hours (I did 5.5).

Once they have cooked for 4-6 hours, fire up the grill. Put the ribs on the grill (no cookie sheet) leaving the aluminum foil under them (but opened up). Slather with BBQ sauce and let cook for another 10 minutes or so.

Enjoy!

DB2 Ownership Transfer

If you ever get an error in DB2 along the lines of…

SQLCODE=-727, SQLSTATE=56098, SQLERRMC=1;-551;42501;MARKJ|EXECUTE|XX.PROC_P

…but in your code are executing the proc as another user (say “USR1”) instead of MARKJ, it may be that MARKJ created the proc and until recently still had the necessary access for executing everything in XX.PROC_P. Subsequently permissions were “fixed” and now stuff starts blowing up all over because MARKJ no longer has access. How to fix? Well, like all things I’m sure there are a million ways to do it, but the easiest in this situation was to have MARKJ transfer the ownership on everything he owned. To determine that, the following SQL was run to generate the commands, then the commands were run…


SELECT 
CASE ROUTINETYPE WHEN 'F' THEN
    'TRANSFER OWNERSHIP OF FUNCTION  '||
    RTRIM(ROUTINESCHEMA)||'.'|| ROUTINENAME ||
    ' TO USER DB2DBA PRESERVE PRIVILEGES; '
ELSE
    'TRANSFER OWNERSHIP OF PROCEDURE  '||
    RTRIM(ROUTINESCHEMA)||'.'|| ROUTINENAME ||
    ' TO USER DB2DBA PRESERVE PRIVILEGES; '
END
FROM SYSCAT.ROUTINES 
WHERE OWNER = 'MARKJ' 
WITH UR;

Weekly Challenge 9: Stretch

Weekly challenge 9 will be structured slightly different than previous challenges. Because I’m trying to reduce the number of apps and things to update as well as to schedule things on my calendar, I’m dropping my personal use of coach.me. That said, if it works for you please keep using it to motive yourself!

This weeks challenge is a simple one, but one we probably all forget about. I want you to simply stretch every day. From what I’ve read our bodies start to tighten up as we get older and that can lead to other problems or at least make them worse.

So add stretching to your habit tracker, calendar, or task list of choice. If you still want accountability or to chat, just use this blog’s commenting features.

We Believe

There’s no reason in today’s day and age that everyone shouldn’t have access to safe and clean water. Today I’ve recommitted myself by setting up a recurring contribution to charity:water. Will you join in? Donate today.

It’s Time to Grow Up and Figure this Out

“These are weapons of war”. “Nobody I know or have ever met in my entire life should have access to a weapon that can kill so many people so quickly”

OwnCloud webapp not reflecting true list of files

If you’re using OwnCloud and have a process whereby your add or remove files from directories via some sort of server process, you may find that you need to force OwnCloud to update/rescan the file listing. To do so you can manually run the following command…

sudo -u username php /path/to/owncloud/console.php files:scan --all

You may also want to consider adding it to the crontab for “username” on a daily basis.

Thanks to this site for pointing me in the right direction.

Sendmail isn’t sending to domain.com : Linux

Say you’re using sendmail to relay email on a web server that you own that’s named “domain.com”, and email is being delivered fine to any domain except domain.com. What could be the problem?

  1. Rename your server. No server should be named with an actual domain name.
  2. Change /etc/hostname to the new name for your server
  3. Update /etc/hosts to remove the domain name and replace with the new hostname
  4. Remove the domain name from /etc/mail/local-host-names
  5. Restart sendmail “sudo service sendmail restart”
  6. Restart your server “sudo reboot”

Once you’ve done that test sendmail out like so…

echo "command line test" | mail -s "Sendmail test" me@domain.com