Weblog


Weblog

trying to quantify dream time

02.03.2002, 23:42 · Martin · Permalink

... when do I dream, and when do I remember I dreamt? Dreams, or rather the circumstances under which one has and remembers them. are an elusive beast. I always believed that my normal sleep habits, and along with them my dream-cycles, where the reason for me not remembering my dreams in the morning. So consequently if I'd have 1-2 hours of sleep more I'd remember what I dreamt. Well tonight I sleep the usual amount of hours. Only not in the same timeframe. I went to bed very late (early for some) and got up rather late. And I had perfect recall of what I dreamt. Maybe it's not the quantity but the rythm after all... Making any sense here?

There are days, and especialy nights

02.03.2002, 23:35 · Martin · Permalink

when you sit there in the knowledge that you should do some serious work. But nothing works. Amythiing you try breaks. Sure sign to not keep pushing? Or sure sign that success is just around the corner? Whatever, today might not be a days for work. Or a night.

rael at oreilly ... blosxom

01.03.2002, 13:33 · Martin · Permalink

Blosxom [pronounced "blossom" or "blogsome"] is a lightweight (to say the least -- it's <30 lines of code) Weblog-in-a-jiffy Perl CGI script for (but in no way limited to) Mac OS X. Blosxom simply nabs text documents (written in your text editor of choice) from a particular directory and displays them (in reverse chronological order) as a Weblog. Simplistic -- but a potentiallly useful spot of fun nevertheless.
weeeelll I guess that's largely what SBELT was in the beginning ;)
[via SWR]

FtpVC - FTP-based Version Control System

01.03.2002, 10:20 · Martin · Permalink

FtpVC (FTP Version Control) is a simple version control system which allows joined software development using Internet FTP connections. This program permits developers to get, check out, check in, and undo check out files on a remote server, that are part of a software project. It also allows comparing files on the server to their local versions showing results in a two-pane window. In other words, FtpVC may be used for version control of source files, the makefile, or any other data. The simplicity of this program, in its current form, lies in the fact that it lacks some advanced features that are common to modern version control systems: branching, merging, etc. Also, currently FtpVC optionally stores previous versions of files instead of (more common for version control systems) reverse deltas. On the other hand, it provides basic features that are necessary for any collaborative development. Thus, users from all over the world can now jointly and safely work on the same project without the possibility of conflict.
This could actually be largely useful for mx work!

Meryl on right-click

28.02.2002, 15:48 · Martin · Permalink

just a note: I think anything that can be done with a bookmarklet can also be done in the IE-right-click menu. It's only harder to install such an extension (Registry entry + script-file needed)

Audioblogging Revisited:

28.02.2002, 09:58 · Martin · Permalink

Garth says: Ben Hammersley has put together Blogcast ("The Net is Listening"), a collection of the latest updates from some other audiobloggers. Anyone can post to it. Nifty!

It was via Blogcast that I discovered that Eric Rice beat me to registering audioblog.com. Bastard!

Right, I better tidy up Throat again and get started.

I say: You do that, Garth! AudioBlogging is there to stay!

WiredFool: Patch Tool

28.02.2002, 09:36 · Martin · Permalink

This is a developer tool that provides patch and diff services for Usertalk scripts in Frontier and Radio Userland. Its integration level is currently roughly that of app glue. There are plans to use this core to provide comprehensive source management.

If you are running on Mac OSX, it will do the diffs and patches on your local machine. If you are not, it will contact a webservice running on differenceEngine.wiredfool.com which will perform the differences for you.
[emphasis by me. This way to use a webservice is way cool. By the way, there are native Win32 versions of diff and patch and other GNU tools.]
[via SWR]

Jabberd 1.4.2 Server Release

26.02.2002, 23:18 · Martin · Permalink

  • Download Source
  • RedHat 7.2 i386 RPMs (thanks to Ben Reed)
  • Solaris 2.6 and 7 (thanks to Kevin Hollenshead)
  • Windows 2000 and XP (thanks to temas, and be sure to edit the jabber.xml or add a -h flag to the shortcut to specify your hostname if you want server-to-server to work)

evaluating Forum Software

26.02.2002, 12:10 · Martin · Permalink

is what I've been doing.
I need a Communitry like thing, with emphasis on Discussion.
  • PHP-Nuke - nice a loads of features, but diffucult to downsize and cusomize
  • phpWebsite - a spinnoff from PHP-Nuke with far cleaner HTML output and better seperation of Core/AddOn functionality
  • Phorum - I have the feeling this one will cut the deal. Only my installation seems to have some svere config-problems... grrr
  • and of yourde there are myriads of other packages, some even in German,,,
    Danke, Ernst!
  • phpBB - another reader points out. I've seen that one, but it has far to many power BulletinBoard fdeatures for my use. I don't need / want things like Avatar icons etc... But hanks very much for the pointer!
And just in case someone needs a one-install-has-them-all package for Win2k: FoxServ is an Apache / mySQL / PHP installer package for Windows and Linux. Unlike NuShpere or PHPTriad, FoxServ features the latest version of all included pacakges, user defined configuration during installation, PHP as a module, PEAR, and the Zend Opt

SearchHippo

26.02.2002, 09:41 · Martin · Permalink

has an - Open HTTP/XML API -
but seems to be a rather poor search-engine. It dosn't even give summaries with highlighted search terms...

I'm having a real scripter-block here.

25.02.2002, 22:43 · Martin · Permalink

As a long-time Perl scripter I'm used to doing string manipulation with regex. I've read and understood Mastering Regular Expressions to a degree that I've written a rather nice XML-Parser in pure Perl.

But today I have a problem I can't solve with regex.

I have the following kind of tags in my project:
<span>
    some text
</span>

no great problem there:
"/<((\w+)[^>]*)\s+/\\2>/"\"([^\"]+)\"([^>]*)>(.*?)<\
will match the whole thing

But now comes the challenge:
<span ptal:define="say hello">
  <span ptal:content="say">
      some text
  </span>
</span>


The problem is that any kind of above regex will match the yellow part like so:
<span ptal:define="say hello">
  <span ptal:content="say">
      some text
  </span>

</span>

as it will take the first opening-tag and match until it finds an matching closing tag, disregarding any nesting.

And converting the regex to be greedy is no solution, as it would then match the first <span> to the very last </span>...

I guess some programmatic string-parsing is called for here... Darn if only I could do that... Some poiners I found:
  • class HTML parser
  • HotScripts has some very nice XML Stuff
  • Jazarsoft.com has a very low level charakter based HTML Parser
  • PHP Classes: HTMLParser looks promising, or rather not...
  • Far out: A Lisp Based HTML Parser
  • PhpWiki - New Tranformation Engine seems to have some very good pointers to similar parsing problems
    • Let's Build a Compiler This fifteen-part series, written from 1988 to 1995, is a non-technical introduction to compiler construction.
    • Compiling Little Languages in Python "Little languages" such as configuration files or HTML documents are commonplace in computing
      taken from this article its a 'scanner' I'm looking for, not so much a 'parser':
      Scanning, or lexical analysis. Breaks the input stream into a list of tokens. For example, the expression ``2 + 3 * 5'' can be broken up into five tokens: number plus number times number. The values 2, 3, and 5 are attributes associated with the corresponding number token.
      Parsing, or syntax analysis. Ensures that a list of tokens has valid syntax according to a grammar - a set of rules that describes the syntax of the language. For the above example, a typical expression grammar would be:

now that I hurt you, maybe I should help you

25.02.2002, 17:55 · Martin · Permalink

Hey Alwin! Maybe I was picking the wrong examples there. Sorry. I didn't want to attack your design, because the problem I mentioned lies with the basic design as it was roled out. But the current Manila-CSS theme has been updated since then and so dosn't seem to have that problem no longer... Maybe now I should try and help you optimize your theme so that it at least displays in older browsers. I just did a quick test here: I saved your page as a blank HTML localy. Then I removed ALL content of the <style> tag. And then it displays alright in NS4... So maybe a way to a solution could be to comment out all definitions and setp-by-step re-enable them to see which ones barf NS4. But I do agree with you Alwin: that is a hell of work just to 'support' an antique browser. Not sure if you should go to that kind of trouble. I'll offer you a deal: I see if your design can be made to show in legacy browsers like NS4 for you. Deal? [update:] Wow, that was fast. It seems that NS4 dosn't like the 'float: left;' in the #wrapper definition. If I comment that one thing out, NS4 at least displays the page, but the calendar etc. go to the bottom of page as is to be expected. But IE5 still displays the page exactly as before!!!

blogChat

25.02.2002, 14:16 · Martin · Permalink

Brent has now made the final step of integrating the chat into the blog. A chat-window inide his blog. And it looks really cool too, thanks to some CSS styling by nate Ashley IT - Remote Scripting Resources ...and home of JSRS
Brent Ashley. Yes, that's him. The man behind blogChat. I was reading the stuff about Remote Scripting some time ago and linked it exensively. But somehow never made the connection...

One comment about Netscape 4.x

25.02.2002, 09:27 · Martin · Permalink

there's been a lot of duscussion about supporting non-DOM legacy browsers, which NS4 is.
My opinion is this:
Make your pages so that they will display without CSS or DOM. I said display, not look good. Make them readeable for legacy systems. Don't forget that this is a point of accesibility also. Some alternative modes of access don't do CSS or DOM. A small critique about the UserLand CSS Theme Alwin uses:
NS4.7 displays only a blank page in background color. Other, similar designs at least display the main test w/o fancy layout...

That's good to hear

25.02.2002, 09:02 · Martin · Permalink

Ian is finally on his way to better health. And no, Hal, I don't think this kind of thing becomes routine to parents, ever. Only most don't furrow their brows in the open so much. For better or worse...

Conversant

23.02.2002, 09:22 · Martin · Permalink

Thanks Seth for the pointers! Formz is a set of UserTalk scripts for creating, managing, and rendering HTML forms. Formz is designed to separate the "look and feel" of a form from its underlying data...
<snip />
This release is the first in a series of releases from Macrobyte that will lead up to the full availability of Conversant, Macrobyte's groupware development platform, to developers.

I've been glish'ed!

22.02.2002, 18:56 · Martin · Permalink

PHPNuke on Lycos for free

22.02.2002, 12:43 · Martin · Permalink

I tried it, and it works! Come over and see me there. Let's see how well this thing performs and how reliable it is...

Welcome back, Jörg!

22.02.2002, 11:30 · Martin · Permalink

lot's of news to catch up, huh?

Golem.de - Microspace-PC - Kleiner, lüfterloser PC

21.02.2002, 18:54 · Martin · Permalink

Die Schweizerische Digital-Logic AG hat mit den neuen Microspace-PCs zwei der kleinsten und leisesten PCs für industrielle und kommerzielle Anwendungen angekündigt. Die Kühlung der in dem nur 15,9 x 14,8 x 6,6 cm großen Gehäuse steckenden Elektronik erfolgt über ein spezielles passives Kühlkonzept, so dass die Geräuschentwicklung sehr niedrig (unter 35 dB) sein soll.
[aber der Preis! 2080,-EUR!!! von was träumst Du nachts?]


alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors

Martin Spernau
© 1994-2026


amazon.de Wunschliste

Facebook me!
Google+

powered by Traumtank