An IDE for TeX

TeXnicCenter is an excellent IDE for developing TeX documents on Windows. It follows the usual interface conventions and is quite helpful in getting started and debugging. TeX is the standard page layout language for writing mathematical and scientific papers. Here are some excellent tutorials for getting started with TeX. The IDE requires MikTeX for actually … Continue reading An IDE for TeX

How to enable logging in Python LDAP

When writing Python scripts which rely on python-ldap and openLDAP, it is often useful to turn on debug messages as follows: import ldap; # enable python-ldap logging ldap.set_option(ldap.OPT_DEBUG_LEVEL, 4095) # enable openLDAP logging l = ldap.initialize('ldap://yourserver:port', trace_level=2) This is also useful when debugging the LDAP Plugin for Trac.

No implementation defined for org.apache.commons.logging.LogFactory

While writing a DB2 stored procedure that invoked a SOAP/WSDL web service using Apache Axis as part of WSIF, I ran into this doozie: org.apache.commons.discovery.DiscoveryException: No implementation defined for org.apache.commons.logging.LogFactory Ultimately, it's caused by a too restrictive lib/security/java.policy file that ships with DB2. Wrong Solution The standard way to define an implementation is to create … Continue reading No implementation defined for org.apache.commons.logging.LogFactory