Archive for September, 2005
Don't mix "PHP":http://www.php.net code and HTML in your scripts. There are several templating systems for _PHP_, one of which is the "Pear":http://pear.php.net package "HTML_Template_IT":http://pear.php.net/package/HTML_Template_IT. It is easy to use and allows the complete separation of HTML and code in your scripts, therewith making both the _PHP_ code and the HTML easier to maintain.
If you are trying to find out why your LDAP add (or search or delete) operations aren't working against a Domino directory, I warmly recommend setting _LDAPDEBUG=7_ in your notes.ini. You can also perform a log analysis. These are described in the Lotus knowledgebase for R6 "here":http://www-1.ibm.com/support/docview.wss?rs=899&context=SWD00&context=SWC00&context=SSKTK9&context=SSKTL5&context=SSKTM2&context=SSKTMJ&context=SSPQ69&context=SSPQ7E&context=SSPQ5C&context=SS5N9B&context=SS5NA4&context=SSKTPA&context=SS5LUA&context=SSMT72&context=SSMSB2&context=SSKTXQ&context=SSTJRD&context=SSKTWB&context=SSKTWP&context=SSKTYF&context=SSYSVG&context=SSTJRP&context=SSKTZF&context=SSZHFR&context=SSYJJC&context=SSFLMV&dc=DB510&dc=DB520&dc=D800&dc=D900&dc=DA900&dc=DA800&dc=DB530&dc=DA600&dc=DB550&dc=D100&dc=D600&dc=D700&dc=DA500&dc=D200&dc=DA410&dc=DA450&dc=DA430&dc=DA440&dc=DA420&dc=DA460&dc=DB300&dc=DA470&dc=DA480&dc=DB100&dc=DA4A10&dc=DA4A20&dc=DA700&dc=DA4A30&q1=1168038&uid=swg21168038&loc=en_US&cs=UTF-8&lang=all and "here":http://www-1.ibm.com/support/docview.wss?rs=899&context=SWD00&context=SWC00&context=SSKTK9&context=SSKTL5&context=SSKTM2&context=SSKTMJ&context=SSPQ69&context=SSPQ7E&context=SSPQ5C&context=SS5N9B&context=SS5NA4&context=SSKTPA&context=SS5LUA&context=SSMT72&context=SSMSB2&context=SSKTXQ&context=SSTJRD&context=SSKTWB&context=SSKTWP&context=SSKTYF&context=SSYSVG&context=SSTJRP&context=SSKTZF&context=SSZHFR&context=SSYJJC&context=SSFLMV&dc=DB510&dc=DB520&dc=D800&dc=D900&dc=DA900&dc=DA800&dc=DB530&dc=DA600&dc=DB550&dc=D100&dc=D600&dc=D700&dc=DA500&dc=D200&dc=DA410&dc=DA450&dc=DA430&dc=DA440&dc=DA420&dc=DA460&dc=DB300&dc=DA470&dc=DA480&dc=DB100&dc=DA4A10&dc=DA4A20&dc=DA700&dc=DA4A30&q1=1203191&uid=swg21203191&loc=en_US&cs=UTF-8&lang=all
This picture reminds me of the very amusing account of the "magic switch":http://catb.org/~esr/jargon/html/magic-story.html
I'm tinkering around with a small acronym database for internal use and glanced at the "Wikipedia entry for acronyms":http://en.wikipedia.org/wiki/Acronym where I found this lovely Soviet _initialism_:
The laboratory for shuttering, reinforcement, concrete and ferroconcrete operations for composite-monolithic and monolithic constructions of the Department of the Technology of Building-assembly operations of the Scientific Research Institute of the [...]
When coding, ensure that your program requests only as many resources as are required by the application. A small C program I wrote which assists during automagic installation of Lotus Notes R6 clients, queries the registry to find the installation directory, using RegOpenKeyEx(hive, path, 0L, KEY_ALL_ACCESS, &hKey).
We then discovered (obviously), that the program doesn't run [...]
Don't click on the image.
"Google facts":http://alan.blog-city.com/an_evening_with_googles_marissa_mayer.htm
The prime reason the Google home page is so bare is due to the fact that the founders didn't know HTML and just wanted a quick interface. Infact it was noted that the submit button was a long time coming and hitting the RETURN key was the only way to burst Google into life.
"via":http://forevergeek.com/articles/some_interesting_google_facts.php
We've been using "Nagios":http://www.nagios.org/ for just over a year, monitoring just over 1500 systems, the largest of which is a Z/OS mainframe and the smallest is a POS terminal (actually, the smallest are probably the printers). The 5.700 service checks for these productional systems include such for SMTP, LDAP, HTTP, disks, CPU and quite a [...]
