| Latest 7 Posts |
Notes 8.x and the windows firewall Fri, Jan 9th 2009 45
|
Domino Bug: how to report it? Sun, Jan 4th 2009 52
|
Initial Mailfilequota uses GB instead of MB Thu, Dec 4th 2008 27
|
Compile Problem fixed: Scripname was too long Tue, Nov 18th 2008 27
|
Sending Designer into endless loops with "Recompile all" Tue, Nov 18th 2008 37
|
Fun with ... garbage collection Mon, Nov 17th 2008 49
|
How to test if an array is initialized? Thu, Oct 9th 2008 92
|
| Top
10 |
How to test if an array is initialized? Thu, Oct 9th 2008 92
|
File - Application - Install Fri, Sep 5th 2008 76
|
Domino Bug: how to report it? Sun, Jan 4th 2009 52
|
Help: Messages from the future: "Invalid Time or Date Encountered" after setting the system date to year 3434 Thu, Oct 2nd 2008 51
|
Fun with ... garbage collection Mon, Nov 17th 2008 49
|
Notes 8.x and the windows firewall Fri, Jan 9th 2009 45
|
Sending Designer into endless loops with "Recompile all" Tue, Nov 18th 2008 37
|
Compile Problem fixed: Scripname was too long Tue, Nov 18th 2008 27
|
Initial Mailfilequota uses GB instead of MB Thu, Dec 4th 2008 27
|
Notes becomes stranger every day: binding to onHelp event Fri, Aug 22nd 2008 18
|
|
|
| Blog Posts |
45

|
Notes 8.x and the windows firewall 
Fri, Jan 9th 2009 1:51p Jan Schulz Notes 8 and higher seems to listen to some ports. Unfortunatelly it seems that it listen to the wrong interface, as I get a firewall warning: TCPView shows this: So notes listen on all interfaces (0.0.0.0) instead of on an local one (which would show 127.0.0.1). To show another example, here is "hamster", a local mailserver, which does the right thing and binds only to the 127.0.0.1 interface and never showed up via such a firewall warning: So two things: Why does Notes need to listen on al [read] Keywords: admin
ibm
notes
bleedyellow
bleedyellow.com
eclipse
interface
laptop
office
security
server
skype
|
52

|
Domino Bug: how to report it? 
Sun, Jan 4th 2009 12:51p Jan Schulz I've a linux server, which sometimes hangs with a server task at 100% CPU and lines like this in the log: "Unable to access notes.ini. Determine what application or hardware fault is preventing access. Previous cache values used." or " Error updating local ID file: Could not open the ID file". A restart fixes this, but never for long (sometimes same day, sometimes weeks). It seems like this started with the 8.0.2 Domino. I searched the IBM site for similar bugreports an found Domino server han [read] Keywords: domino
ibm
notes
application
bug
linux
server
|
27

|
Initial Mailfilequota uses GB instead of MB 
Thu, Dec 4th 2008 6:51p Jan Schulz This a from a newly registered user (via admin client and CA) Fun... So, how do I file a bug report? I've actually no idea... [read] Keywords: admin
bleedyellow
bleedyellow.com
bug
|
27

|
Compile Problem fixed: Scripname was too long 
Tue, Nov 18th 2008 5:52p Jan Schulz Just a short follow up to my problem from this afternoon about recompile going into an endless loop or not saving at all, when changing the order of the Use statements (Error "Duplicate PUBLIC Name": it seems that the compiler can't cope with long names of script libs. My scriptlib was named "de.katzien.ls.MVC.Model.MonitoringCapability". Changing it to "de.katzien.ls.MVC.Model.Monitoring" fixed the problem. [read] Keywords: bleedyellow
bleedyellow.com
|
37

|
Sending Designer into endless loops with "Recompile all" 
Tue, Nov 18th 2008 11:52a Jan Schulz ... or to hell... Currently I'm trying to build an LS framework, which is runtime configurable. Instead of using static functions or simple class extention, I try to build an object graph, where each object adds some functionality. So something which needs to run after a Document is saved will add a observer to the document model and do the work in the right callback method. This results in small objects and class libs, but lots of use of "Use". Unfortunatelly designer seems to be unable to cop [read] Keywords: designer
document
ibm
lotusscript
email
ideajam
ideajam.net
wiki
|
49

|
Fun with ... garbage collection 
Mon, Nov 17th 2008 12:50a Jan Schulz Todays fun: my logger (basicly an AgentLog, but with an underlying NotesDocument) opened a second doc where it shouldn't and worse didn't save the first document with the proper logging output. Turned out, that the last logAction call in the logger.delete sub (called by the garbage collector) found that the underlying logdoc was nothing (and so not saved until I turned on flushAlways) and so created a new one with only the "new log opend" and "log closed" message in it. Fun if you expect half a [read] Keywords: agent
document
domino
bleedyellow
bleedyellow.com
database
oop
openntf
|
92

|
How to test if an array is initialized? 
Thu, Oct 9th 2008 8:51p Jan Schulz I like to write code like this:
public function getSomething() as Something if oSomething is nothing then set oSomething = new Something() end if set getsomething = oSomething end function How do this with dynamic arrays? I was very surprised when this threw an error:
dim arrSomethings() as Something if isArray(arrSomethings) then print ubound(arrSomething) ' unitialized array error when calling the ubound function
You have to call a redim arrSomething(0 to 0) bevor you can do anything [read] Keywords: designer
bleedyellow
bleedyellow.com
bug
java
|
51

|
Help: Messages from the future: "Invalid Time or Date Encountered" after setting the system date to year 3434 
Thu, Oct 2nd 2008 9:50p Jan Schulz Hello LazyWeb, we had a user who accidentally changed his system date to sometime in the future (year 3434...) and did some work in his local mailfile and replicated... . Since then we get this nice message on the servers: 03.10.2008 03:25:07 Error reading RevisionTime for folder operations in database . Run fixup on the database.: Invalid Time or Date Encountered Needles to say, that fixup does not make this message go away Anyway: all docs with "funny" dates are gone from the mailfile, [read] Keywords: ibm
bleedyellow
bleedyellow.com
database
wiki
|
76

|
File - Application - Install 
Fri, Sep 5th 2008 9:48p Jan Schulz This is mainly here so that I don't have to google another half an hour... The Policy setting to get the install menu back is in "Desktop policy settings -> Basics -> Provisioning -> Allow User initiated updates" Additional buzzwords following: com.ibm.notes.branding/enable.update.ui=true, plugin_customization.ini, 8.0.2, install, update, updatesite Thanks to Henning Kunz, where I finaly found this. [read] Keywords: ibm
notes
application
desktop
google
|
18

|
Notes becomes stranger every day: binding to onHelp event 
Fri, Aug 22nd 2008 6:09p Jan Schulz Binding to an onHelp event via "On Event Onhelp From fUIDoc Call delegate_onHelp" is only working, if you have any code/Comment in the onHelp event on the Form: just leaving it with no comment in it in the client lotuscript part will not trigger delegate_onHelp. Putting a comment into the event on the form works: (bigger orginal version -> There is a script in the wiki, which crops every picture to [read] Keywords: notes
bleedyellow
bleedyellow.com
wiki
|
14

|
openHelpDocument(...)? 
Fri, Aug 22nd 2008 4:55p Jan Schulz I implemented a context sensitive help in one of my applications, but now I want to migrate this code to an event based handler which uses the 'onHelp' NotesUIDocument event. Unfortunatelly I can't find a replacement for this code in LotusScript: @Command([OpenHelpDocument]; ""; "LHelp";"FORM-"+ Form)) Is there no other possibility than using evaluate? [read] Keywords: lotusscript
notes
applications
bleedyellow
bleedyellow.com
|
10

|
Extending OpenLog 
Fri, Aug 15th 2008 11:50p Jan Schulz I use OpenLog for my error handling and mostly it just works. But there are a few cases, when I wanted to have something more: show the error messages to the user and get some information what the user didSending the logentry via mail to the central OpenLog DB in case the user is offlineWhile I was at it, I also added "Handlers": you can pass in a handler and openlog will ask each handler if the error can be handled (ignored, resolved, etc) by the handler and if so, will return. I got the Idea f [read] Keywords: document
lotusphere
lotusphere2008
lotusscript
bleedyellow
bleedyellow.com
oop
server
|
8

|
assertThat(me, is_(aBlogPost()).and_(is_(interesting())) :-) 
Thu, Aug 14th 2008 4:53p Jan Schulz A few days ago I found Hamcrest on the web. It's a framework, which lets you write validation rules in almost plain english: Dim value as Variant value = "Hallo" Call assertThat(value, is_( not_( equalTo("Hallo") ) ).and_(is_(ofType("String"))) Resulting in output like this: Assertion failure: expected: is not equal to Hallo and is of type STRING; got: (STRING) Hallo(bold is from the Matcher (second argument to assertThat), rest from the Error, which the assertThat method throws)The Implementat [read] Keywords: composite
domino
notes
bleedyellow
bleedyellow.com
google
|
6

|
Save as Draft not working? 
Thu, Aug 14th 2008 12:33a Jan Schulz I get an error notice when I try to save a blogpost as draft, loosing all my data (back does not work in Firefox ). Anybody else with that? Ok, the blog post about Call assertThat("Hallo", is_( not_( equalTo("Hallo") ) ).and_(is_(ofType("String")))) Assertion failure: expected: is not equal to Hallo and is of type STRING; got: (STRING) Hallo will have to wait until tomorrow [read] Keywords: bleedyellow
bleedyellow.com
firefox
|
7

|
testable code = better code? 
Wed, Aug 13th 2008 11:47a Jan Schulz After my entry about event delegation, I went out and refreshed my memory about Design Pattern (The GOF book was the first - and up to now my only - book about programming. Hey, It's just a hobby for me . I also found the Google Testing Blog. Especially one of the entries was very interesting: writing testable code. Here are my Top7 from that entry: Don't mix object graph construction with application logicAsk for things, Don't look for things (aka Dependency Injection / Law of Demeter)Don't do [read] Keywords: application
bleedyellow
bleedyellow.com
google
wiki
|
8

|
Fun with events 
Tue, Aug 5th 2008 8:34p Jan Schulz After seeing how much fun everybody else had with events, I tried to get my own version together. I tried my luck with delegating the actual event handling to EventHandlers, which do the actual job. So the called QueryOpen Method looks like this:
Sub delegate_Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
Forall evhandler In listEventHandlers
Call evHandler.Queryopen(Source , Mode, Isnewdoc , Continue )
If Not Continue Then Exit Sub
[read] Keywords: document
lotusphere2008
lotusscript
bleedyellow
bleedyellow.com
oop
|
|