Category Archives: help notes

Various notes with random bits of useful information

Installing private ruby gem in rails project using heroku

If you have a private gem, deploying to heroku can be frustrating.. In my case, I do not have even a server so I am not looking (yet) to set up a private rubygem server. I just have another project … Continue reading

Posted in help notes, ruby, technical | Leave a comment

How to do variable/conditional SQL sorting order of results

I was jazzed today. I figured out how to conditional order of SQL results. Specifically being able to vary change the sorting order within the results based on a database field. Specifically, Create two tables Main and Secondary create table … Continue reading

Posted in help notes, technical | Leave a comment

… and I nailed the javadoc

Yesterday was a red letter day. I found multiple bugs in the javac and javadoc. (1.6.0_17) This javadoc issue occurred when there is a class that has no package line ( it is in the default package). Annoyingly enough it … Continue reading

Posted in help notes, technical | Leave a comment

Woot! I crashed the javac

My javac crash: An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. … Continue reading

Posted in help notes, technical | 2 Comments

Generic annoyances in java

For some reason, the type variable <O> cannot flow through from an external caller through a callee to another called method. This compiles just fine in eclipse, but once again sun’s javac is temperamental. The three solutions seem to be: … Continue reading

Posted in help notes, technical | 1 Comment

MacOSX and hostname

h/t Larry Gordon (copied because I want to make sure I always have it available): When I log into the network at my job my Mac’s hostname always turns to: larryx.na.corp.ipgnetwork.com I have my local hostname set to: larryx.local So … Continue reading

Posted in help notes, technical | Leave a comment

Website performance tips

Yahoo website performance tips

Posted in help notes | Leave a comment

where, oh where is the list of all those magic -XX java parameters?

The master list is here. But just in case it goes away here is the list (pruned for java 6): Option and Default Value Description -XX:-AllowUserSignalHandlers Do not complain if the application installs signal handlers. (Relevant to Solaris and Linux … Continue reading

Posted in help notes | Leave a comment

explain this

type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object In java 1.6u2 running in maven 2.0.7, we started getting this message but in eclipse 3.3.0 we were not. (and … Continue reading

Posted in help notes, technical | 4 Comments

apache v. tomcat mysteries…

So I struggled for hours trying to get apache to connect via the ajp13 worker to tomcat 5.5 We are using a Debian box on the production server. Could not make it happen…. until I set the worker to be … Continue reading

Posted in help notes, technical | 2 Comments