Archive for March, 2006

links for 2006-04-01

Freakish Juggler

This is incredible, Amazing Juggling Finale

links for 2006-03-25

links for 2006-03-18

links for 2006-03-15

  • Literate programming is a methodology that combines a programming language with a documentation language, thereby making programs more robust, more portable, more easily maintained, and arguably more fun to write than programs that are written only in a h
    (tags: programming)

Killing your pet

i think pet stories like marie’s are great to tell kids, a real descriptive way to teach a lesson. i’m saving the “i helped kill my dog because i didn’t obey my parents story” for elliott and ethan. not that i like telling the story, it’s just a terrible lesson that i learned about consequences, and i don’t want my boys to experience that. it goes like this…

when i was a kid (0 - 12), we lived in a rural area in knoxville. our house was up a hill at the end of a long gravel drive way. dad and mom had 3 acres in the woods, and it was a great place for boys. unfortunately though, the road curved around our property, so it was difficult to see oncoming cars when you pulled out of the driveway. i can still hear my mom preaching to me and my brother that we should never, ever play near the road. this was particularly tempting because there was a creek on the other side of the road.

so, one day i slowly worked my way toward the road. i can’t remember specifically why, but i do distinctly remembering that i was disobeying; but i was careful and what could really happen. i was almost to the road when i heard the squeal of tires. i then realized that my dog, a beagle named patches, had followed me to the road and was hit by a car. even though i was young, i quickly realized that my dog was only near the road because he followed me. i felt terrible.

the driver of the car stopped and was very apologetic. my dad told him that he understood, then put patches in a wheel barrow and rolled him up our driveway to be buried later. i ran to my room crying.

i later went to look at patches in the wheel barrow and noticed that his eyes were open. i ran to my dad with the hope that patches was still alive…that’s when i learned that you could be dead and your eyes still open. it was a sucky day, but for the following few weeks i was a perfect child. later we got another beagle, lucky, and i never made the same mistake.

it kills me to think that elliott and ethan may have the same experience, and that’s why they will probably hear this story more than once in their life. i don’t want them to feel that pain. as a parent, i can now better understand how in the same way God gives us the Bible as a guideline for living. there are many rules/laws in the Bible that are designed to help show us that we aren’t perfect and that God requires perfection. but many of those same rules are to protect me from the consequences of sin. in many ways i’m still the 6 yr old robbie wanting to play near the road and God my Father is reminding me that there are consequences to disobedience. i need that reminder every day.

Understanding WebSphere MQ Reason Codes

I’m new to WebSphere MQ and have been struggling to learn the best way to debug problems. Of particular confusion has been the term “logs.” If you create a persistent queue then every message is persisted in what MQ calls a log. This is dramatically different from the way I usually use the term. When I say log, I usually mean a file that contains trace or debug information. I would call the MQ log a database.

So everytime I search the manual for “log information,” I get nothing that helps me debug a problem. Today however, I did run across a gem of a command, mqrc. As with many legacy applications, MQ displays error or reason codes when an error occurs. So you get a very descriptive “2051″ to help you determine the problem. For a given reason code, mqrc displays the code definition…a real description behind the number. Below is the help for that command.

MQRC Usage:

Interpret a retcode or a number of retcodes in a range
mqrc [-a]
mqrc -r [-a]
mqrc -R [-f -l ] [-a]

Interpret a message or a number of messages in a range
mqrc [-a] AMQ
mqrc -m [AMQ] [-a]
mqrc -M -f -l [-a]

Interpret a retcode symbol
mqrc
mqrc -s

Display help
mqrc -h Display this help
mqrc -v Display the version number

Where the options are:

-a Try all severities to find message text
-f First number in range
-l Last in number range

1. Numeric arguments are interpreted as decimal if they start with a
digit 1 to 9, or hex if prefixed with “0x”

2. If no range is given when interpreting a range of retcodes, then all
the retcodes are listed.

3. When printing retcodes or messages in a range, if there is a problem
with message, an indication is printed just before the message text,
as follows:
‘?’ There are no matching retcodes for this message
‘!’ The message severity is different to the retcode severity

links for 2006-03-09

  • It may be necessary to delay the loading of a specific Windows service for the computer to boot properly; or you may want to ensure that one service has started and is available for use before another for troubleshooting purposes.
    (tags: windows)

links for 2006-03-08

  • This article series demonstrates how to build an MVC web framework using PHP 5. This article explains the Model part of Model-View-Controller design.
    (tags: php)