digital trike

So, I don’t normally talk about work on my blog, just because … hey, who wants to work? I’d rather surround myself with Reese’s cups and watch Roger Ramjet. I totally recommend it.

Anyway, at Digital Trike, my current depriver of candy and animated features, I’m doing full time systems administration. It turns out I enjoy doing that quite a bit. One thing they’ve let me start doing, is writing blog posts that are howtos covering topics related to Linux. I’m going to be doing mostly Gentoo posts, and some stuff related to CentOS as well, since we use both of them in development and production (yay, Gentoo!).

I just posted my first entry on their blog, which covers setting up collectd on both distros. I’ll warn you, it’s a bit lengthy, but I tried to cover most of the bases as well as I could, while keeping the setup pretty generic. It’s designed to be a two-parter, this being the first one, and I’ll cover CGP, a PHP frontend to actually see the stats probably next week sometime.

Lemme know what you guys think, I’d totally be up for some feedback. :)

7 Comments

Filed under Computers, General, Gentoo

depart from me, o lord

For some reason, this phrase entered my mind today. I remembered it as “Depart from me, Lord, for I am a sinner.” I didn’t remember where it was, somewhere in the New Testament, so I looked it up and it is found in Luke — the book I have been studying most recently. The actual wording is a little different than I recalled: “Depart from me, for I am a sinful man, O Lord.” (Luke 5:8)

What made me think of this was the conflict in actions that the man was displaying. I remembered that he both fell down to worship, yet at the same time beckoned for some distance. The act seems interesting to me because I believe it represents some emotional conflict. A desire to serve and be righteous, with some degree of outward performance even performed, but internally a feeling of inadequacy, observant of his own weakness. For me, that feeling can be overwhelming. There are times when it is all I can do to kneel, or some similar act, something simple, and yet feel unworthy to press on or do more. I want to do good, yet I feel like I cannot approach the Lord because of the mistakes I have made.

I think Jesus’ reply is interesting as well. “Fear not,” is the first part of his reply. Why does the Lord say that? What is the effect of fear and how does diminishing it at this time help? I believe that, in this same scenario of mixed emotions, that the feeling of inadequacy and failure robs a person of courage and then causes them to fear moving forward. I know in my own life, in the midst of confusion, every option seems fearful, full of uncertainty.

I also love how the Lord pronounces a prophecy regarding him (and his companions). The Lord is directly contradicting the vision, direction, capability and mission that Peter has set for himself. The Lord knows what he can become, and shares in small measure, a glimpse of that future.

It occurs to me that there’s some significance to the fact that they were on the water, a place of unrest and uncertain surface. Before they could follow the master, they had to bring their ships to land (5:11). I have noticed in my own life, that when I am uncertain and unsteady, that if I return to doing the small things (reading a bit of scripture, for example), that it grounds me, and makes me able to do more. In contrast, a sense of despair and discouragement is often accompanied by a stage of apathy.

Finally, the efforts of following the Lord may seem sacrificial, but are really beneficial, for “they forsook all”. Not only their past possessions, but their past difficulties, to be replaced with anxiety and cares and the other feelings that come in the service of others — the yoke of the Lord — completely displacing their old woes. While the actions are first, the feelings will follow.

1 Comment

Filed under Religion

talking with teenagers: some ideas

I wrote this opinion paper for my psychology class earlier in the semester. When I did it, I sat down and basically ranted in one quick session what I thought about stuff. I didn’t bother to save a copy of it at the time, because I kind of just banged it out.

I got my paper back today though from the professor, and reading over it, I kind of liked it. It could stand some editing and cleanup, but I think the message itself is worth something. So I decided I’d post it up here, and just share some of my ideas I have about working with teens. :)

Continue reading

1 Comment

Filed under Adolescent Therapy, Psychology

when things go wrong

I have had a couple of experiences recently that have made me stop and wonder how I react when things don’t go the way I planned. And by recent experiences, I mean, I’ve had a few things not go so well lately. But I’m curious about my attitude after the fact. I’m noticing that I often use it as a justification to do something irresponsible, because, I somehow deserve it.

One simple example. I love to go driving around as a way for me to just relax. I do it a lot when I need to go think for a while, and either get my mind off of things or just ponder on something. There’s nothing wrong with that. But I also like to drive fast. Most of the time, I’m a safe, reasonable driver. When things go really bad though, and I decide to go for a drive to cool myself off, I’ll tell myself it’s okay to go speeding down the freeway like a madman to help me unwind and relax. So, somehow in my mind, when life does not meet my expectations, I’m justified in executing civil disobedience. That is not right, but it’s my attitude. In fact, in those times of anxiety, not only is it my attitude, but it *feels* right. It really does feel like I’m allowed that exception to responsibility. And that’s what I’m trying to figure out where that came from.

I have another example that seems totally unrelated, but it’s been rolling around in my head as well. Chocolate has been marketed in my lifetime as a rewarding pleasure for when things go wrong in your life. You’ve had a rough day, go lounge on the couch while sucking on a piece of candy, and all will be right. The principle marketed is that if, if things go wrong, you deserve a reward.

I’m starting to break down that assumption as well and try to rework my perspective. It requires humility. Which is hard. And that’s what occurred to me last night, after a very long day of many things going wrong. At first, like usual, I was angry, and determined to do something to “make things right.” Some way to reward myself. What got me started thinking about how maybe my attitude was wrong is I decided that I didn’t have to get up early the next morning to go to my Bible study class before work and I could sleep in instead. That’s when I realized that my attitude of self-reward was cutting me out of things that would really be blessings in my life. Once I got on that mental track, I started re-thinking the purpose of trials and difficulties. And it was then that the Lord had a chance to work on my heart a little bit, and I became humbled to a small degree. The anger and bitterness left my heart. I got to see, in part, that I had become hardened by the obstacles that He thought I was ready to face. Instead of rising to the challenge and seeing them as opportunities for growth, I was viewing them them with an attitude of “how dare you upset my stability?”

I often wonder what the purposes and reasons for the Lord sending us here to earth are, and I believe that one of the main ones are that we are here to experience hardship and difficulty, so that we can grow. Honestly, that’s a really hard concept for me to swallow. But as I tried to see things from a better perspective last night, it just felt *right*. So I think I may be onto something, and I’m going to try and see if I can’t figure it out some more.

I’m not really excited at the prospect of more things going wrong, but I’m starting to wonder now if it’s one way the Lord is trying to tell me something. For instance, that my load is too heavy and I’m not keeping balance.

I think there are a lot of things I can learn when things go awry, and they include lessons about myself. How to keep calm and cool under pressure is one that is really difficult. At work, I’ve learned to solve it with one change in attitude: we pull together, not apart. I’ve found that a lot of my stress and anxiety comes when I try to get myself out of a predicament. But if I focus on getting through it, working with others, then it requires a lot more self-resolve and patience. Both are areas I could use some work on.

I’d like to leave one last note, for myself at least, that this is certainly not a new principle acquired. It’s just something I’ve started to figure out. I’ve got work to do on the area.

1 Comment

Filed under Religion

skateboarding is life

About two weeks ago I decided I’m gonna go back to doing some skating this summer. By all accounts I’m still a beginner, so this time around I’m taking a different approach. I’m covering the basics one by one, and going out nightly, every day for an hour, and just practice what one thing until I’m ready to move onto something else.

It hasn’t been too long, but my approach is working well and I’m showing some progress. :) Tonight, I was out, and while I was pushing around, I was thinking about the lessons I’ve learned while persistently going out, and I noticed there’s a lot of principles of practicing and skateboarding that apply to life as well:

* Don’t quit
* Practice what you know
* Build on what you know
* Watch out for the shady spots, where there’s debris (I totally bailed tonight, running over something)
* Steer clear of the weird guy roller skating in booty shorts
* If you don’t work at something that’s hard every day, it makes it more difficult to get back up to speed
* Make observations during practice, summaries afterwards
* If you try to look cool, you’re going to look even dumber when you screw up
* Learn the correct technique first, otherwise you’ll frustrate yourself and have to start over
* Your family can be a huge support, even if they don’t understand everything you’re going through
* Focus on the positive. If you dwell on the negative, you’ll just want to give up
* Watch out for dogs

That’s it :) Skating is fun.

Finally, I love this video. I just wanna run!

1 Comment

Filed under Skateboarding

git and acl effective mask

I have run into this funky problem with ACL and git at work, and I cannot for the life of me figure it out. I’m not sure if it’s a bug, wrong expectation on my part, or just plain ole user error.

I have a directory that is setting the default ACL permissions. Those are being inherited just fine by children (files and directories), including the effective mask. However, when I clone a new repository using git, the default effective mask is ignored. And I can’t figure out why.

Specifically, here’s what I’m looking at.

Setting the permissions:

# mkdir testing
# setfacl -m g:users:rwx testing
# setfacl -m d:g:users:rwx testing
# setfacl -m m:rwx testing
# setfacl -m d:m:rwx testing

The ACL permissions:

$ getfacl testing
# file: testing
# owner: root
# group: root
user::rwx
group::r-x
group:users:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::r-x
default:group:users:rwx
default:mask::rwx
default:other::r-x

You can see that the default effective masks are properly set.

When I create a sub-directory, it’s ACL settings are inherited properly as well:


$ mkdir dir
$ getfacl dir
# file: dir
# owner: steve
# group: users
user::rwx
group::r-x
group:users:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::r-x
default:group:users:rwx
default:mask::rwx
default:other::r-x

That works great and dandy and fine.

The problem I run into is when I use git to clone a repo:


$ git clone git@example.com:shell/shell.git
$ getfacl shell
# file: shell
# owner: steve
# group: users
user::rwx
group::r-x
group:users:rwx #effective:r-x
mask::r-x
other::r-x
default:user::rwx
default:group::r-x
default:group:users:rwx
default:mask::rwx
default:other::r-x

The effective mask and the default effective mask have dropped from the default (rwx) to something else (r-x), and I have *no* idea why.

Hopefully someone out there may have a clue. I’m stumped.

9 Comments

Filed under Computers, Gentoo

pear list

I’ve been tinkering with PEAR at work, switching between using portage to install stuff and sometimes using pear directly to install it.

One thing that’d be nice is to get a list of the packages installed in pear command-line syntax. I.e. pear install MDB2-beta.

So, here’s a quick reference to convert the output of “pear list” to a list you can use with pear:

pear list | egrep "(stable|beta|alpha)$" | while read line; do echo $line | cut -d " " -f 1,3 --output-delimiter=-; done

A sample output would be:

$ pear list
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.3.7 stable
Auth_SASL 1.0.4 stable
Console_Color 1.0.3 stable
Console_Getopt 1.2.3 stable
Console_Table 1.1.4 stable
Crypt_HMAC 1.0.1 stable

to this:

Archive_Tar-stable
Auth_SASL-stable
Console_Color-stable
Console_Getopt-stable
Console_Table-stable
Crypt_HMAC-stable
etc …

For me it’s just a nice way to backup the pear module list, or copy it to a file and then install the pear modules on another box.

2 Comments

Filed under Programming