Friday, March 14, 2008

Ruby Dooby Doo

I was looking for how to install RadRails as a plugin for eclipse. It wasn't clear from my initial Google searches, but a co-worker assured me that it was available as an eclipse plugin.

Here's what I searched for to find how to do it:
  1. eclipse ruby
  2. radrails for eclipse
  3. install radrails eclipse
  4. eclipse plugin radrails
  5. radrails
Eventually, I found this which made me to decide just to go to the download page, and I eventually I got here.
Huzzah.

I thought I was done.... but I'm not!!! Next step:
In eclipse, go to Help->Aptana Studio Start Page.
In the Plugins section/column, under Ruby on Rails, click "install". After that, it's the same as installing any other plugin for eclipse.

And all was right with the world.

Monday, February 18, 2008

Whatcha say-ay mmm that you only meant we-ell

The Shia LaBeouf/Andy Samberg and co. video from Saturday Night Live where everyone shoots everyone is available as of this writing in here, here, and here.

It's called Dear Sister, and the song they play is called, "Hide and Seek," by Imogen Heap.

I couldn't find the silly thing on SNL's website. They have a bunch of video there, but it is completely unsearchable, so you have to browse through pages of thumbnails and descriptions to find anything you're looking for. One site I found suggested that the video is not on the site because there's a problem getting the rights to the song.

I don't expect Dear Sister to be at the above referenced locations for a long time. It looks like NBC (or whoever) has done a pretty good job of seeking out and destroying content they don't want freely distributed.

Here are some of the search terms I used this time:
  1. andy samberg shooting
  2. andy samberg dear sister
  3. andy samberg "dear sister"
  4. samberg digital short shooting

Friday, February 15, 2008

Very little exercise

Question: How many calories are burned for each stair you climb?

Answer: According to a 2002 study by The American College of Sports Medicine, 0.11 calories are expended going up a single stair, and 0.05 calories are expended going down a single stair. Of course, the expenditure will vary based on one's weight. Also, the stairs used in this study were 15 cm (very nearly 6 inches). Those seem like pretty mild stairs to me.
I found the link to the study here.

Why I was interested:
I wanted to know because I've started a workout program that involves climbing exactly one stair. Har!
No - I have been hearing that getting a bunch of mini-exercise sessions is better than one big exercise session. And, as I have not been participating in either of the above for a bit, I thought I'd start with climbing the stairs at the building where I work.
I started out ascending and descending about 35 flights a day. That's 630 individual stairs.
How many calories is that? Well, the calorie burning is reported all over the net in terms of calories per hour. I just want straight-up calories-per-stair.
Here are my Google searches that eventually led me to the answer:
  1. how many calories do you burn per stair
  2. calories burned per stair
  3. calories burned each stair
  4. study calories burned climbing stairs
  5. how many calories are burned climbing one stair
  6. calories "a single stair"
  7. calories "each stair"
Now to find out how many calories I burn every time I bite into a cheesburger.

Thursday, February 14, 2008

How anticlimactic

Well, I found the answer, and the internet did not provide it.
The fellow here investigating the problem recalled that a Sun representative, when assisting with the setup of the environment suggested that we have this level of security enabled only if we met one of several conditions. We did not meet any of those conditions, and so this configuration was unnecessary. We reconfigured all our servers to reflect this advice. Or so we thought.
The server on which this was working had the proper configuration. Obviously, the server on which this was problem had an improper configuration.

So, to remedy this problem, a JVM option needed to be removed.
In the Sun Java System Application Server Admin Console, select Configurations -> <the_config_I'm_working_on> -> JVM Settings
Now, select the JVM Options tab.
In our case, we needed to remove an option dealing with security, which referred to a file called "server.properties"
Unfortunately, the change was made before I was able to record it.

So, thus far, the blog sucks.
Regardless, here are the search terms I used in my research:

  1. permission required to override getUserPrincipal
  2. accesscontrolexception "permission required"
  3. accesscontrolexception "permission required" acegisecurity
  4. accesscontrolexception ldap
  5. "java.security.accesscontrolexception" ldap
  6. "permission required to override getUserPrincipal
  7. accesscontrolexception
  8. security sun application server server.properties
  9. security sun application server server.properties "JVM options"
  10. security sun application server "server.properties" "JVM options"
  11. security sun application server "server.properties" "JVM options" Dcom
And none of these searches pointed me specifically at the problem.
D'oh.
Dough.
Notes on the searches: We were using a file called server.properties. I don't know if that's standard. Also, we suspected there was a problem with our ldap configuration, hence the ldap searches.
HVD.

It begins

Howdy.
It happens to all of us. Regardless of our searching prowess, we get stuck while trying to retrieve some piece of information. Or a video. Or a picture of someone we just read a local news story about.
It can drive me up a wall, especially because I have a fairly high opinion of my searching abilities.
And thus, the birth of this blog. I intend to post information that I had a hard time finding, including the search-journey I took to get there. So, hopefully people looking for the same junk I was looking for will have an easier time finding it.
Eventually, I'll probably become very satisfied with myself, and post other things. Or I'll decide that this is a waste of time, and abandon this blog.

The camel-backbreaking straw is the problem I'm currently working on. Why, when I log in to my application on the Sun Application Server am I getting this error?

java.security.AccessControlException: permission required to override getUserPrincipal

As far as I'm told, the setup of this app server is identical to another app server which does not give this error.

Hopefully, the answer will come soon.

End transmission.