| Date - Time: Sunday, July 8th 2007 - 11:24 |
A wise man once said unto me:
Name_With_Held [11:20 AM]: That is one things that SERIOUSLY irritates me. When they hit their 30's they suddenly want to settle down. So let me get this straight, when you were in your 20's and your tits and ass defied gravity you wouldnt let me touch you but you didnt mind if some random asshat molestered you at will. But now that age is creeping in you want something meaningful. Sorry, I will not be a consoltation prize. Find someone else to be your emotional tampon and please experience pain and suffering until the end of your days. Goodbye.Preach on brother! |
| Date - Time: Monday, May 14th 2007 - 8:22 |
| 1) I am very tired of the term "intellectual property" 2) Microsoft doing nothing about patent violations for years, and caring all of the sudden when it suits them best isn't the problem. It's smart business (not to be confused with moral). Who the fuck has so many patents that you can point your finger at one source and say "They violate 253 of our patents." They hit 5000 patents in March of 06 iirc. Some of these are so vague. They have patents on various parts of bayesian filtering. That's really just annoyance. The problem is with the fucking US patent office, who will grant patents on just about anything. Original or not, if no one finds a similar patent it's yours. Even if it's by no means a new idea (like thier patent on parts of bayesian filtering). It's a vague reference to an idea that had already been around for like 2-3 years. |
| Date - Time: Sunday, April 8th 2007 - 18:09 |
| I took a test. How neat. |
| Date - Time: Monday, November 6th 2006 - 20:06 |
So I have to setup a psuedocluster for this client of the company I work for. One of the things they want is lighttpd. I've heard a lot of the hype, and visited thier page for about 20 seconds before. It's been one of the fangled new things I've been trying to avoid learning. So in order to not fubar a clients box, I setup lighttpd on this server. The first thing I noticed was that whoever wrote this (or at least designed the config) is way more programmer than sysadmin. The config file syntax and styling is a mishmash of perl and java/python. $HTTP["host"], server.errorlog =, etc. Here's an example:
#Tell lighttpd to run .php files through php via fcgi for korthrun.net and www.korthrun.net
$HTTP["host"] =~ "(www\.)?korthrun.net" {
fastcgi.server = ( ".php" => ( (
"bin-path" => "/usr/local/bin/php",
"socket" => "/tmp/php.socket",
) ) )
}
I think that about sums that up. Opens with fairly perl regex match, followed by typical object.property = ( a very perl style array assignment )
The way it handles vhosts is also kind of wierd. You set the directory that hosts _ALL_ of your vhosts with: simple-vhost.server-root = "/www/virtual/". Set a default directory so that a request that goes to the server, but doesn't have DNS for any of the sites you host can be properly handled: simple-vhost.default-host = "localhost" (this would equate to "/www/virtual/localhost" on the filesystem). Then if you wish you can set a folder inside the vhosts folder to actually be the document root with: simple-vhost.document-root = "/htdocs/". That last bit would pull the default index from "/www/virtual/localhost/htdocs/index.html". Lighttpd assumes you want any folder in "/www/virtual" to be considered a vhost. So for say korthrun.net in order to be sure lighttpd works properly for "www.korthrun.net" and "korthrun.net" I need to do a symlink with the www: ln -s /www/virtual/korthrun.net /www/virtual/www.korthrun.net That I don't like so much. Apaches ServerAlias directive is much more sensible imo, though it does enlarge your config file. Now I don't want to come off like I'm whining. That was really just not was I'm prepared for when editing a daemons configuration file. Once you get used to it, it's really not all that bad and if you've any experience with the aforementioned languages then it will make sense pretty quickly. I haven't noticed too much of a performance difference but I'm not really doing much. I was able to migrate my entire apache setup, without losing a single feature (I make use of a lot of them) in about 3 hours. Not to bad of a learning curve. Just not a thing you can go into expecting anything to work like you're used to. |
| Date - Time: Saturday, September 16th 2006 - 23:04 |
I love unix. I can't say that enough. I am the sort of geek who is anal about the way his files are named. Specificly media files such as movies or mp3s. It's a simple format. artist-title.of.media.ext or queen-another.one.bites.the.dust.mp3. All lower case, no spaces, no underscores etc. As we know, when we are backing up our cd's not every program handles it the same, or even allows you to define a format for the filename. The past has been filled with "mv ArtIsT -- S0ng nuymbar 1 -- iare a_fool.mp3 artist-i.are.a.fool.mp3". Man that shit is tiring. Well here we have my godsend.
for OriginalFile
do
Location=`dirname "$OriginalFile"`
FileName=`basename "$OriginalFile"`
ShortName=`echo $FileName | sed 's/ /./g'`
if [ $ShortName != "$FileName" ]
then
cd "$Location"
mv "$FileName" "$ShortName"
fi
done
No more spaces. Yes this could be a one line for loop, but I like this as it's a little safer. We follow this up with: for i in $(ls -1 ./*mp3);do mv $i $(echo $i | tr A-Z a-z);doneand voila! All lower case! Last but not least we have for i in $(ls -1 ./*.mp3| grep _);do mv $i $(echo $i | sed 's/_/./g');doneto remove the underscores from file names should they exist. Fuck yes! |
| Date - Time: Friday, September 15th 2006 - 0:13 |
Been using this bitlbee for my instant messaging instead of Naim which I had been using for a bit. Naim kinda stopped development, "they" are working on something called naimgl or some such. Haven't been able to find a download for the life of me. Plus there were a few annoyances that I was having trouble coping with. Bitlbee is an intersting creature. It's actually an irc daemon you run. You connect to the daemon via any irc client per usual and are forced into a room called &bitlbee. Here you authenticate yourself and can setup your IM clients. All the people who would be on your contact list appear to be in the chat room with you. You can /msg them to IM them, or do a few other things. Presently it has support for Oscar (aim and icq), MSN, Jabber and Yahoo. Since this uses any IRC client it is pretty cool. You can easily have all your IM info from anywhere, and use the client of your choice, without leaving your buddy list etc on your friends computer. The idea of web/java based irc clients expands the possibilities a bit. Since I use irssi this has prompted me to write an irssi theme. I'll link it once I've put it up which should be...sometime. I ran into a little stint with logging, but irssi's autolog seems to have sorted things out, just need to be sure to label the server you're connecting to with a tag or be consistant with your hostname. |
| Date - Time: Thursday, July 27th 2006 - 5:27 |
I've recently taken a kick for older movies. It started when I rewatched Casablanca, which made me want to see Gone with the Wind again. I'm about to give a flick called flesh and the devil a run and we'll see how that goes. I wish I was around during the times that these happened. Well the image they portray anyway. Women were ladies, men had some sort of sense of honor and people knew what it was to be polite for politeness sake. I'm not a HUGE fan of the traditional gender roles though they do for sure have some appeal. Even being polite to someone you hate has it's merits. Plus I really dig the styles. The women of that time (talking 1915-1955ish) had great hair styles and did thier makeup right by me. Guys actually had fun clothes and accessories. Today we don't get shit. Walking down the street in a three piece isn't that common and seems reserved for the higher ups of society. Anything other than a baseball cap or beret seems to be way unaccepted. I love my Tux hat, but wouldn't mind a bowler or the like. Men these days have dress slacks, various forms of cargo pants, golf shirts, t-shirts, and dress shirts. Enjoy. Finding a quality pocketwatch is a pain, and so much seems done by credit that a moneyclip is all but useless. A cane? Enjoy your new label as you walk around with a cane. I don't know what it will be, but for the most part I'm sure it's an unpleasant one. Que Será, Será as Doris Day would sing it. Here I am in this time and place, and it's not really so bad. I'm just jealous I suppose. |
| Date - Time: Monday, July 3rd 2006 - 0:12 |
Maybe to you this is old news. To me it is the beginning of a wonderful life. Ben and Jerry have decided to put out the cutest little tub of ice cream ever. Ever. This little 3.6oz cup of joy comes accompanied by the most awesome plastic icecream spoon ever invented. The spoon is tucked under the lid, so has a 0% chance of getting lost before you're ready to dive in. It can also be used as a weapon against most any life form. It can parry light sabers, and be used as a shuriken This is great. With the fatass America that I live in they've packaged something fattening and addictive into a tiny container. In case you live outside the USA, I'll let you know that this is the exact opposite of what is normally done. With this great spoon people may even be motivated to work out. Another plus is that I get to have Ben and Jerry's without paying $6-8 bucks for a tub of ice cream that will most likely dissapear in one or two sittings, and definatly within one day due to my lack of self control. Also my freezer has cute in it now. Frozen Cute ftw! |