Apr 282004
 

Late in the afternoon, I could not reach my webserver/mailserver from work AGAIN! I was already cursing LinkSys for creating such sensitive equipment, and was ready to test my cabling skills to have wires all in and over and through the house, just to ban the WAP.

As we were having a party this evening, I called home to check how things were progressing, only to hear a “you have been disconnected” tone. Not good. I tried again about 20 minutes later, only to hear the same irritating tone. Scratch, scratch. No internet, no telephone. Must be a power-outage.

When I got home, I saw one of the neighbours talking to an Essent (our power-supplier) repairman. A big van was near a big pit and they were both standing there, talking to eachother. The neighbour was waving her arms that explained to me “something’s wrong, but it’s not the repairman’s fault”.

A couple of minutes later I walked up to the guy, and found him next to two cables as thick as a man’s arm, one of them severly bent, the other severly damaged. Around our house it’s still a big construction site, so I immediately knew one of the dumbasses (of course we all call them Bob, for obvious reasons) had been digging where he shouldn’t have.

That doesn’t look good, I said cynically.
Nope, he responded. I already called my wife that I will be home late, he replied.
Me: Any estimate?
Him: Well, I hope to be done by 7, but I can’t tell you for sure.
Me: Ouch, that’s two hours from now.

I picked up my cellphone, and started calling the people that were invited. We had to find another place to party, since we would be cooking dinner, but without any power, the oven (which we had planned to be using for most of the cooking) would not work.

Anyways, the party was a success, the webserver/mailserver is up and running again, and all clocks and videos are synchronized. And the LinkSys can stay. For now.

 Posted by at 22:41
Apr 282004
 

If you like Delphi, but also like non-Windows OS-es as well, you basically are going to have to pay twice or more. Each time for each programming environment (be it Kylix, or something else). Freepascal is a Delphi clone, for Win32 and Linux. It tries to do everything Delphi does, but it does not have a real front-end/IDE. Enter Lazarus. It’s not completely Delphi yet, but it’s nice to see how far they already are. Some Delphi code can be used in Lazarus/Freepascal without altering!

If you look at the Project Roadmap, you can see most of the IDE and most of the components are done and working. The rest of it (LCL, the Lazarus version of VCL, GTK, Qt, Win32) needs some more work.

This how Lazarus looks like on my desktop:

Notice the blue and green line just above and below the buttons? Quite neat: they show if components are aligned or not (then the lines disappear)! Borland, did you see that?

 Posted by at 22:30
Apr 282004
 

Both Anders and Nick blog about it: Borland changed Delphi8’s license so you can safely distribute Borland.Delphi.DLL with your products and anybody creating a derative of your product (component or whatever it is called in .NET) is allowed to do that too. Great news.

As Bob puts it:

Borland.Delphi.dll is effectively distributable to anyone AS PART OF A COMPONENT OR SOFTWARE (i.e. not just by itself)

 Posted by at 11:00
Apr 272004
 

The server was unavailable today again. That means that my mail-, web- and dns-server are unreachable. The WAP (LinkSys) did it this time. Resetting the damned thing was the solution. I hate to think about it, but I think it’s time to get some wiring up here…

 Posted by at 19:41
Apr 272004
 

I’m still trying to figure out Christian Nordbakk‘s skin, so I can convert it from .Text to b2e. Beginning from scratch with just a single HTML file and the CSS style is the way to go. I have the header right, the shadow/glow effect works, and what’s left is the leftmenu (that I want on the right) and the main content area.

Because I stripped all the table elements, things didn’t look good at first. Why did I strip table? Somewhere, someday, perhaps when I was drunk, I read on the internet that table is not a valid CSS 2.0 or XHTML 1.0 tag. However, now looking for some documentation again, I see that table is implemented in CSS 2.0 and in XHTML 1.0. What was I thinking? Tables make life a lot easier. Trying to position text with div and span is difficult, whereas the table tag seems to be made for weblog-pages 😉

This is the result sofar:

 Posted by at 12:58
Apr 262004
 

I think I found the problem of my “hanging” ShellExecute. In my application I have a TRichViewEdit in which the user can do basic editing. If the user needs more, he presses the Word button, that will start Word with the appropriate document.

If I don’t edit in the TRichView first, and go straight to Word, any attempt to close Word normally fails. Taskmanager etc will work, but that will cancel all editing.
If I edit in the TRichViewEdit first, save it, and then open Word, things run smooth like a baby’s ass.

The difficult part is this: the TRichViewEdit REMOVES a graphic that is in the Header of the Word document. So I have 2 things to solve:

1: The removal of the picture
2: Word behaving strangely when the picture is still in the document

Sometimes, life is not so sweet….

 Posted by at 23:41
Apr 262004
 

If you’ve ever looked at a Mac or worked with it, you’ll know you miss the great application launcher (dock) it has when you work with Windows. There is one piece of software that mimics Mac’s dock and that’s Y’Z Dock. There is no current website anymore, since Apple seems to dislike the fact that this piece of software exists. But with the excellent help of Google, I found a link where you can download it. No need to install anything. Just unzip to a directory, and start the executable.

 Posted by at 13:32
Apr 262004
 

The windows are closed here, but still there is a bee in my office! It makes a whole lotta noise, but I like it. It’s like working with the laptop in the garden 😀

 Posted by at 12:23