Seriously, you know you want to rush right out and get one these bad boys. As soon as they come out that is.
Monthly Archives: October 2007
I spent the better part of the morning this morning learning how to set up Subversion to allow anonymous checkouts of repositories while maintaining authentication requirements for checking in. It was quite a learning lesson, but the Subversion book and several Google searches actually get things working the way I want them.
Anyway, what I had to do was modify my httpd.conf (this could potentially be done in the subversion.conf, but I have virtual hosted my svn repos so I made these changes in my httpd.conf) to change the way permissions were being served. Keep in mind that I am not usering
svnserve to serve up my repos but am using Apache instead. The changes that I made to httpd.conf were inside the
<Location> block set up for the virtual host for my subversion repos and look like:
<Location /repo-url-path> DAV svn SVNParentPath /path/to/repos # Taken from the sample on path based auth AuthzSVNAccessFile /path/to/repos/auth/authz # Try anonymous access first, resort to real # authentication if necessary. Satisfy Any Require valid-user # How to authenticate users AuthType Basic AuthName "Everah Projects Code Repositories" AuthUserFile /path/to/svn-auth-file </Location>
As you can see, I created an
authz and put it in a directory called
/auth/ that was off of my repos directory root. I then added the SVN instruction to use that file in my httpd.conf.
The next step was to add the
Satisfy Any and
Require valid-user lines after that but before the AuthType information. This tells SVN to look for permissions in the permissions file and apply those as described in the file. Then SVN is allowed to open up access to those that have it and require validation where it is required.
After I created the
authz file I made it look something like this:
# Make groups for easier addition later on of permissions to contributors
devs_all = robert
devs_padlock = robert
# NOTE: The repository name in the section header is the directory
# name off of /path/to/svn-repos/
# The path portion is the section of that repo. In this case, / means
# the entire friggin thing.
@devs_all = rw
* = r
@devs_padlock = rw
* = r
@devs_all = rw
Once this was done, I restarted Apache and the changes were in effect.
[root@myserver /]# apachectl -k graceful
And now I have a Subversion install that allows for anonymous access to some of my repos while others still require authentication. And the repos that allow anonymous access still require authentication for checking in.
Sweet. I like being a nerd.
Resources to help you along the way
Using HTTPd (Apache) as your SVN Server
Per Directory Authorization
It wasn’t until a few weeks ago that I was able to understand my son well enough to converse with him. Mostly that is due to the fact that my son is only two years and three months old. But some of that has to do with me just not understanding babyish.
So today it struck me. My son is very musically inclined. Not that this should come as any major shock to anyone. All of my kids are very advanced for their ages (I am not bragging on my kids – well, yes I am – but my kids really are advanced, and I am not saying just because I am their father). I was reminded of this again today as my two year and three month old son was singing complete songs all over the house today. No, not parts of them. Entire songs. From memory.
And if that wasn’t enough, he was also humming the tunes of several Flamenco pieces that I listen to in the car. Yes, humming them. In tune.
Man, where was this talent when I was a kid? My children are mind blowing. And they seem to blow my mind daily.
So I am sitting at Carl’s Jr. with my four youngest kids thinking what a busier than normal day it has been. I like being busy and all, but today was a little busier than I’d hoped it’d be.
It started out easy enough with me waking up to a rather nice good morning kiss from my wife. And that is about the last thing I remember.
I had to go to the store to get stuff for breakfast. Then I had to make breakfast. And I had to clean the dishes and half the kitchen.
After that I had to clean up after breakfast and get the kids ready to take a drive. Which we did, to Best Buy so I could get an adapter for my iPhone that will let me use my Bose headphones to listen to my iPod. Then it was off to the barber for some hairs cutting before heading to CJ’s for burgers and play place.
It’s all good though. If I get nothing else out of this day I will always be able to say that today wasthe day that Rebekah, my 10 year old daughter, ate a Six Dollar Burger with fries and a coke faster than I ate my little league burger. I am astounded, yet horrified at the though of my future food bills.
I am so having designers block right now. I have this great little idea for an online journal (no, not a blog, though it could seem like one) but I cannot find the right color scheme for it.
Every now and again I go through this. I start off with what I think it the base color scheme, then when I go through various hues and such, my inspiration just leaves me. And so I am left with the frustration of seeing gray no matter what colors I am looking at.
I thought that I might like Greens at first. But I cannot make green work. So I looked at Reds. Then looked away because I have never been able to do anything with red.
That brought me to my old favorite Blue. But I have done so much blue that the thought of using blue for something else makes me sick. So I considered orange, but the only colors that works really well with orange are gray and blue, so that kind of threw that out.
So now I am stuck looking at Webby 2.0 type colors. Pinks, light blues, neons, etc. And that has even less appeal to me.
That being said, I think I am going to take a few design days off and see if I cannot find inspiration elsewhere. Like at Starbucks. Mmmm, Starbucks.
Kids are amazing. I have said it before, I will say it again. It may get old for you reading it, but as for me and writing, not so much.
Yesterday after church I went to the kids church to pick up the girls. As Sarah walked out of the 5th and 6th grade class I noticed she was reddish, looked to be sweating and was walking rather quickly at me. Then, out of nowhere she just started talking at me. Really fast.
Now it wasn’t like a bunch of chimpmunks hopped up on Maple Syrup and Krispy Kreme donuts sucking on helium ballons. But it was pretty close. It was only after I calmed her down that I was able to make out what she was saying. Apparently she has really wanted this part in the childrens church’s upcoming. And she found out last night that she got the part. And that she would be performing it. For three nights in November.
Yes she was stoked. But she needed me to talk to her drama team leader to make sure we would be available for the dates they are doing the skits. I still need to check the dates, but I think no matter the date, Sarah will be on fire to perform in this skit.
The role that she was dying to get, you ask?
I have been playing around with the jQuery library for the past few days at work and I have to tell you, I am loving it more everyday.
John Resig put together a great little application in jQuery. It is fast, small (the compact version), very responsive and freakishly easy to use. Couple it with the many plugins out there and you have one excellent, speedy web development tool. And in this era of “Everything Ajax has to be golden” nothing gets you to the lofty position of web guru like a great, prebuilt and widely-supported application framework like jQuery.
If you really want to play a good bit with the application, I say you head over to the jQuery Interface Elements site. As far as plugins go, this one set of plugins will totally unleash the full power of jQuery. Plus it has some freaking cool demos.
Anyway, add this to your web development arsenal. It will certainly come in handy at some point.
Kids can say the darnedest things sometimes. Sometimes they say the absolutely wrong things at the wrong times. And sometimes they say something completely contrary to what they want to say without knowing what they are saying because they just haven’t learned to say what they mean to say.
Take my son for example. No, don’t take him. I mean, consider this about him… up until this past Monday, when he intended to say yes, he would say no. When he intended to say no, he would scream no loudly into your face until you understood that he meant no. Then on Monday life as I know it changed.
My son said “Yes” when asked a question. Whoa man, that was odd. I thought for a second the Earth had stopped spinning. Just to be sure I asked him the same question and he looked at me, smiling, and replied “Yes”. Hot diggity, the boy is learning!
But then something happened the boy did not intend. The boy learned almost immediately to say “Yeah”. WHAT?!?!?!?!?!
Sure as sheep are white, this evening I asked him something and he replied “Yeah”.
If ever there was a challenge to the theory of evolution, this is it. He went from not knowing “Yes” to knowing it to growing out of it in a day. At that rate, if we really did come from monkeys, all the monkeys in the world right now would be astrophysicists or something like that.
And they would all be saying “Yeah”.
So I had an idea the other day. I haven’t shared this with my wife yet because, like many of the ideas I have had in the past, she knows in her heart that this idea will fizzle like the rest of the ideas I have ever had. No, I don’t need to ask her if she feels this way. She has cause to based on my past. That said, let’s move on…
A few months ago we decided as a married couple that we would start a life group. A life group is essentially a bible study that acts as a sort of extension of the church. It is not church as most know it, and it is not just a bible study as many know it. It is a branching of the church into the homes of those in the church in an effort to reach out, minister to and love on the unchurched. These have also, in the past, been known as cell groups and home groups.
Well, we decided that now is the time for us to ramp up to hosting one. We set our start month as January of 2007. We attended the first meeting of the church to those that feel led to do this. And we bought journals to begin our journaling process.
Sidebar: One of the things that is strongly encouraged (not required, but encouraged) is using the Life Journaling techniques developed (I believe) by Pastor Wayne Cordeiro. The journaling process walks you through the Bible in a year if you read the selected devotionals every day. In fact, it takes you through the old testament once and the new testament twice. It is a great resource and it is used as by our Pastors as a teaching tool to the leaders of the life groups.
So as I was journaling the other day I thought to myself “Wouldn’t it be cool to be able to have access to my journal no matter where I am?” And then it hit me (like many other ideas I have had) that I could built an online Life Journal for myself. Then it quickly hit me again…if I can do it for me I can do it for others.
So I decided that I am going to do it. I have already begun the DB architecture of it. I will be working on integrating the codebase into Padlock. And I should have something usable fairly soon. And rest assured, when I do I will link to it from here.
And I will tell my wife that it is ok is she wants to kiss me for finishing something.