April 30th, 2008
I had an annoying sticking menu problem in ie7 with son of suckerfish. I made a fix by replaceing:
#nav li:hover ul, #nav li.sfhover ul {
left: auto;
}
with
/*hack for ie7 to not have menus stick*/
html>/**/body #nav li:hover ul{
left: auto;
}
#nav li.sfhover ul {
left: auto;
}
Hopefully, this helps someone.
Posted in Random Life Happenings | No Comments »
April 3rd, 2008
Tho most critical to a sql statement in a particular database is its query plan, another useful nugget of info is how long it actually takes to run the query from studio. You can get studio to give you this info by adding the following line above the query.
SET STATISTICS TIME ON
SELECT this, that FROM here INNER JOIN there on here.id = there.hereid
When you execute a statement with this line above, you get more info in the messages tab that will look like the following:
SQL Server parse and compile time:
CPU time = 0 ms, elapsed time = 1 ms.
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 1 ms.
(1 row(s) affected)
SQL Server Execution Times:
CPU time = 16 ms, elapsed time = 18 ms.
More info http://msdn2.microsoft.com/en-us/library/ms190287.aspx.
Anybody know how to set it as the default whenever using Studio?
Posted in Random Life Happenings, SQL | No Comments »
April 3rd, 2008
Sometimes developers exist in a happy state of ignorance as to what is going on with their databases. Certainly, I can’t explain everything on this blog but I’ve found this statement to be useful on MS sql.
exec sp_spaceused [your table name]
This statement returns disk info about a particular table - recordcount, physical disk space taken by data and space reserved for this table’s data. It also returns similar info on indexes so that you can get an idea of how much resources they take. Its somewhat interesting to see the differences in how a simple index vs. clustered index use resources(well, if you are slightly bored).
Posted in Random Life Happenings, SQL | No Comments »
March 27th, 2008
McCarthyism of the 50’s is alive and well in this country. Shortsighted politicians. Modern marketing techniques. The abuse of media as a bully stick and policy management tool.
This movie is about TV newsman Edward R. Murrow who nearly singlehandedly stood up to McCarthy and contributed greatly to his downfall.
Its a good reminder movie of the things that have happened in this country. Its short and sweet. Worth watching by people who are somewhat politically aware or at least curious.
Posted in Random Life Happenings, Movie Reviews | No Comments »
March 27th, 2008
The view of the Israel and Iraq conflicts has been pretty one sided but the view of the other side is pretty poorly understood. This movie attempts to relieve some of that dichotomy and its pretty interesting for it.
Basically, its 20 hours surrounding the lives of two friends who volunteer for a suicide mission that gets botched. Certainly a riveting subject. Some insight into the people who surround these fairly believable people. The mother. The potential love interest. The people who convince those without hope that the best option is a kamikaze mission. All of them make for a very watchable movie.
I do hesitate. The movie kind of skims over the hopelessness that would drive one to such an act - but I don’t think it does it on purpose. I kind of wanted the movie to explain that to me better - which was the draw for watching it in the first place.
Either way, a well filmed and excellently acted movie on a very complicated subject. Worth watching.
Posted in Random Life Happenings, Movie Reviews | No Comments »
March 27th, 2008
This is a small utility that solves a problem I’ve had for years. I can’t believe I never thought of this.
How many times a day do I go drilling down umpteen levels of folders. Literally hundreds. Sometimes, I totally forget where I was going or what I was doing and then go do something totally different - leaving a task totally unfinished.
So, this utility adds on to windows explorer. You double click anywhere in windows explorer and you get a list of folders that you manage. Then click on the folder and it immediately opens. No drilling, no fuss no muss.
Free for home use. Cheap for office. See it here. http://www.codesector.com/directfolders.php
Posted in Random Life Happenings, Interesting Software, Computers | No Comments »
January 16th, 2008
This confused me for a bit. I enabled rds in the admin, then I setup the steps in the eclipse coldfusion rds configuration window but test connection always failed.
Turns out apache wasnt listening on the standard rds port 8500.
I went to the apache conf file and found the line that says Listen 80. I added just below it Listen 8500 and restarted.
Testing the connection via eclipse then gave me the joy!
Wait, theres more! So, then the little green bug was’nt visible on my toolbar. I clicked on an icon on the far right of the icons area. It says Java and has a little target and 2 balls and the word Java. This made the bug appear.
Then I got to the configurations screen. Here you actually have to double click the Coldfusion Application icon. (yup, that my of been obvious to the smarter people).
Everything else is buttah and the debugger is pretty sweet!
Posted in Coldfusion | No Comments »
January 2nd, 2008
Consider a cross between Star Wars and Underworld and maybe some Matrix thrown in. There is some really good stuff in this movie if your willing to work to follow the devilishly hard to follow plot. There is quite a bit of mythology to absorb and understand. Then there are even more plot twists and sudden revelations to grasp. Lastly, there is at least two stories going on in this first installment.
So, do not make the mistake I did and see it with a bunch of babblers with no patience for complexity who are too busy eating chocolate fondue to note the excellence of this movie.
So, where was I. Yes, the 4 part book is by a Russian named Nochnoi Dozor. There appear however to be only 3 movies. In russia, the movie became a sensation blowing away all other blockbusters such as spiderman and shrek etc.
The plot is a bit beyond this blog posting so I won’t even try to do justice here.
I’d definetly recommend this movie. Do note the above warning. Its not for the non serious movie watcher.
Posted in Random Life Happenings | No Comments »
December 28th, 2007
Ideas, Ideas, Ideas. What if? What if? What if?
This movie about a person born 14000 years ago who just never died is pretty interesting. It is almost more of a play as the actors never leave the room. I take it back. Its actually about people’s reaction to him and how beliefs are held close.
Could you believe someone who said that they were 14 thousand years old? Most of 10 or so people in the movie can’t. Especially when he claims to be someone from the bible and that the whole Christian movement is a big fraud.
The script is by Jerome Bixby who wrote many of the original Start Trek and Twilight Zone scripts.
This is a good flick if you are into philosophy or deep thinking. Otherwise, skip it.
Posted in Random Life Happenings | No Comments »
December 28th, 2007
It seems 25% of the United States population may be evangelical christians. So, for that quarter of you, this movie should be no surprise.
The other three quarters may be curious to know that that other quarter has sleepovers at church and that the minister is attending. However, you won’t be surprised to learn that the adults supervising are a bit creepy.
This is a documentary about the more deep end side of this group. Its actually a fairly good documentary in that its not Michael Moore beat you over the head style. It just shows what happens at these events and interviews some of the leaders. You can form your own opinion.
Nothing here should surprise you tho unless you have’nt been paying attention to how organized the far religious right is.
I found it slightly disturbing and parially boring.
Posted in Random Life Happenings | No Comments »