I am using the latest VisualWorks VM for Mac OS X and I just discovered
that the class Time is returning the wrong hour:
Time now printString '12:37:16 am'
I have done the above print-it at 09:37:16 o' clock system-time.
Does anybody has got an idea how to fix that? I think this is probably
a bug in the VM, as on other OS it seems to work correctly.
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Hi Masashi,
I am still struggling around with SIXX to store my wiki-data. Sometimes
there are strange exceptions popping up, when loading from a stream,
but I think that I could identify the problem finally:
When streaming-out an object, SIXX does save the name
of the class, but not the namespace where this class
was defined in. When later loading, it does sometimes
take the wrong class to instantiate.
I think this issue should be quite easy to fix, because there is just
another attribute called 'sixx.environment' needed for each instance.
Other Smalltalk implementation, that do not have namespace could simply
ignore it and SIXX would be still dialect independent.
Unfortunately I am now stuck with SIXX, because it is loading wrong
classes from other namespaces and throwing exceptions because of
unknown instance-variables. :-(
Thanks for your help
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Prof. Dr. Stéphane DUCASSE (ducasse(a)iam.unibe.ch)
http://www.iam.unibe.ch/~ducasse/
"if you knew today was your last day on earth, what would you do
different? ... especially if, by doing something different, today
might not be your last day on earth" Calvin&Hobbes
> Did you find your problem?
> Stef
Yup, it was a problem with infinity recursion and critical sections.
Everything looked up in inside thousands of critical sections building
up and I think the VW just couldn't handle this anymore.
It is fixed now and there is even a stupid test checking for the
absence of this problem. But it is quite hard to test such kind of code
properly.
Give me a few more hours and SmallWiki should be safely usable with the
basic SIXX storage attached.
Lukas
--
Lukas Renggli
http://renggli.freezope.org
I would like to have the possibility to have a color/icon for the page
that changes depending on
whether the page just is edited by somebody else.
stef
Prof. Dr. Stéphane DUCASSE (ducasse(a)iam.unibe.ch)
http://www.iam.unibe.ch/~ducasse/
"if you knew today was your last day on earth, what would you do
different? ... especially if, by doing something different, today
might not be your last day on earth" Calvin&Hobbes
Lukas Renggli <renggli(a)student.unibe.ch> wrote:
> >> Lukas I'm really wondering if we could not use SmallWiki.
> >
> > Sure, just hang on a few hours. The storage is almost working now,
> > have to write some tests now ;-)
>
> I've just completely fucked-up my image. It has grown from a few MB to
> a whole GB and it does not load anymore when I try start VW. So I had a
> look at the changeset-file (working.cha) and there seems to be all the
> code that I wrote this morning.
>
> Does anybody knows how to load part of that stuff?
>
> Cheers
> Lukas
Do not hurry .... now you have got plenty of time... Read the manuals.
Actually the Smalltalk-IDE is great in recovering things.
The change sorter or something allows you to select parts of the changes
from today and load them! I'have done this a few times as well
but I do not rember the details.
I'm eagerly awaiting SmallWiki but be careful!
-- Hannes
>> Lukas I'm really wondering if we could not use SmallWiki.
>
> Sure, just hang on a few hours. The storage is almost working now,
> have to write some tests now ;-)
I've just completely fucked-up my image. It has grown from a few MB to
a whole GB and it does not load anymore when I try start VW. So I had a
look at the changeset-file (working.cha) and there seems to be all the
code that I wrote this morning.
Does anybody knows how to load part of that stuff?
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
> For the licensing we do not know yet but it will not be GPL because
> this is too bad :) so Mit or SqL. But lukas should decide.
I had a short look at several licenses: MIT, BSD, LGPL and SqueakL. If
I could vote, I would prefer them in the given order.
I like the MIT license simply because it is easily understandable and I
do not have to read 20 pages of difficult legal stuff ...
I do not like the Squeak license, because there is the name of Apple
everywhere and there are some really strange things, as discussed in
the Squeak mailing list. I don't have anything against apple, but I
don't want non smalltalkers to think that they are using something from
apple.
What do you think?
Lukas
--
The MIT License
Copyright (c) 2003 Lukas Renggli
Copyright (c) 2003 Software Composition Group, University of Berne
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--
Lukas Renggli
http://renggli.freezope.org
From: Lukas Renggli <renggli(a)hotmail.com>
Newsgroups: gmane.comp.lang.smalltalk.squeak.general
Subject: Re: [Q] CMS/Swiki development
Date: Tue, 4 Mar 2003 19:46:37 +0000 (UTC)
Hi Chris,
> I plan to develop a kind of Swiki that is more what I want (nothing
> against swiki, but it's not really the thing I want :-) I think the
> best is with commanche.
I am implementing (with the Software Composition Group at Bern) a new
Smalltalk Wiki implementation right now. There should be a first public
version within a few weeks.
If you want to have a look at some documentation browse to:
http://scgwiki.iam.unibe.ch:8080/SCG/520
Unfortunately there is no public running prototype yet. Alexander will
set-up a server very soon. Most of the needed code is there and working.
We have about 150 Test-Cases that are most running green!
> 1) What would you say is the best starting point (It should
> be faster than swiki)?
> - start from scratch
> - change the existing swiki
We considered using either SWiki or WikiWorks as a base, but did not
like very much those systems from the design point of view. So we
started from scratch.
> - build with seaside
In my opinion Seaside is really the best framework for any kind of web-
application. Unfortunately it is not portable to dialects not supporting
continuations (Avi, correct me if I am wrong). And one of our goals was
to have a Wiki that is easily portable between dialects.
> 2) What do you say about regular expressions. Is the plugin build in
> in the default VM or does the admin has to compile a new VM? Then I
> had to use Streams.
We have a parser building a tree of the content of a page. There are
nodes for any kind of entities like paragraphs, lists, per-formatted
text, internal and external links, smalltalk-code, ...
> - pages sit in a tree (swiki has a graph structure)
Not only the pages are a composite of nodes, also the whole wiki
structure is a tree built of a composite. We do not limit to the model
of SWiki (Shelf, Book and Pages), we may nest at any deep. As internal
links are simply references to another entity, they automatically update
when we move something.
> - userlogin
> - permissions (from user to admin)
> - permissions are bound to a user/page combination and are
> inherited down the tree.
A good security framework is really a problem in the current wiki
implementations. We have a model that is going to give the possibility
to have fine grained security checks: e.g. different permissions to
view,
edit, add, remove, change, upload pages that might be attached to
different groups of users.
I hope that I could give you a brief overview of what I am doing right
now. As soon as things get up and running we are looking for
contributors writing cool extensions!
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org