<$BlogRSDUrl$>

Monday, December 28, 2009

LDAP + Kerberos 

I get an error like this:
gcs6@gelato:/etc> ldapwhoami
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)

Not yet completely fixed, but looks like you need to do both of the following:

http://research.imb.uq.edu.au/~l.rathbone/ldap/gssapi.shtml
http://www.linuxquestions.org/questions/linux-networking-3/kerberos-kinit-reply-did-not-match-expectations-445698/

Sunday, December 27, 2009

OLPC free sound samples 

http://wiki.laptop.org/go/Sound_samples

Wednesday, December 23, 2009

Setting up a new subversion repository 

  1. Edit /etc/httpd/conf.d
    Add section where "Location" is the name of the module
    Set "SVNPath" as appropriate
    Set "AuthUserFile" to name of a new file
  2. Create password file, such as /var/www/svnusers-name-of-project
    For each user, add password such as:
    sudo htpasswd -m svnusers-name-of-project new-user
    (Actually, maybe the -m is not desired?)
  3. Create the archive:
    cd /home/subversion/repos/
    sudo svnadmin create name-of-project
    sudo chown -R apache.apache name-of-project
  4. Restart apache
    (If you don't do this, you get the dreaded "200 OK" error)
    In Centos, do this:  sudo /sbin/service httpd restart


Tuesday, December 22, 2009

Some RT links 

I'm looking for the definitions of machine coordinate system IEC 61217.  This doesn't seem to be available in any of the web pages.  Here is the reference for the spec:

International Electrotechnical Commission, IEC 61217: Radiotherapy Equipment—Coordinates, Movements and Scales ~International Electrotechnical Commission, Geneva, 1996.

Best reference I could find is the AAPM task group report.

http://www.aapm.org/pubs/reports/OR_01.pdf

What is IEC 60601-2-11?

Medical electrical equipment - Part 2-11: Particular requirements for
the safety and essential performance of gamma beam therapy equipment

Short but useful link.  Describes IEC 61217 patient coordinates...
http://atc.wustl.edu/home/news/2004_dicom_workshop/WRB2004%20Image%20IODs%20v3.pdf

Good tutorial for DicomRT
http://www.sgsmp.ch/dicom/germond.pdf

NA-MIC kit test-based programming hints 

http://www.na-mic.org/Wiki/index.php/NA-MIC-kit-curriculum/Testing-Based_Programming

Saturday, December 19, 2009

Strain 

First, basic description here.  For the moment, we are interested in the term "epsion_ij", which is Cauchy's strain tensor.  There is a simplified version (see Wikipedia page), in which the cross terms are neglected.  Consider only this one.
http://www.efunda.com/formulae/solid_mechanics/mat_mechanics/strain.cfm
http://en.wikipedia.org/wiki/Infinitesimal_strain_theory
http://en.wikipedia.org/wiki/Hooke%27s_law
http://en.wikipedia.org/wiki/Lam%C3%A9_parameters
Regularization based on strain is described here:
ftp://ftp.math.ucla.edu/pub/camreport/cam08-27.pdf



Sunday, December 13, 2009

libtool hangs 

I got this problem when building streamripper.  I guess it is because of the old configure script in libmad.  The workaround is to add the following line to the libtool script (after it is generated), after the line ECHO="echo":
echo="echo"
Here is the original poster who found the workaround:
http://lists.opensuse.org/opensuse-bugs/2009-01/msg02935.html
Still need to find a real fix for this.



Saturday, December 05, 2009

_CRTDBG_MAP_ALLOC 

Looks like the microsoft compiler has a tool for debugging memory leaks.
http://msdn.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx

This page is powered by Blogger. Isn't yours?