From renggli at student.unibe.ch Mon Feb 2 17:38:50 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Mon, 2 Feb 2004 17:38:50 +0100 Subject: crash recovery In-Reply-To: <200402021337.50907.ratiud@cs.utt.ro> References: <200402021337.50907.ratiud@cs.utt.ro> Message-ID: <4810EDC6-559E-11D8-81C6-000393CFE6C8@student.unibe.ch> Hi Dan, > However, the following text appared at the Transcript and this shows > me that I > should be able to recover the snapshot taken on 28th of January. Could > you > please tell me how can I do that ? > >>> smallwiki_snapshot.im created at January 25, 2004 6:41:07 pm >>> smallwiki_snapshot.im created at January 26, 2004 6:41:09 pm >>> smallwiki_snapshot.im created at January 27, 2004 6:41:11 pm >>> smallwiki_snapshot.im created at January 28, 2004 6:41:13 pm if you created your page before the 28th of January and you didn't delete it manually then it must be still in that image. Else I do not understand your question, could you elaborate then? Cheers, Lukas On Feb 2, 2004, at 13:50, Daniel Ratiu wrote: > hello, > > We have been using the Smallwiki for several weeks. Unfortunately our > server > was restarted and the Smallwiki server closed. I couldn't start the > image > again (VW didn't want to load it), so I started a older snapshot and > tried to > start the server but with no success. My old wiki page seemed to be no > more > there. :(( > > However, the following text appared at the Transcript and this shows > me that I > should be able to recover the snapshot taken on 28th of January. Could > you > please tell me how can I do that ? > >>> smallwiki_snapshot.im created at January 25, 2004 6:41:07 pm >>> smallwiki_snapshot.im created at January 26, 2004 6:41:09 pm >>> smallwiki_snapshot.im created at January 27, 2004 6:41:11 pm >>> smallwiki_snapshot.im created at January 28, 2004 6:41:13 pm > > thank you, > Dan Ratiu. -- Lukas Renggli http://renggli.freezope.org From ducasse at iam.unibe.ch Sat Feb 7 18:25:21 2004 From: ducasse at iam.unibe.ch (ducasse) Date: Sat, 7 Feb 2004 18:25:21 +0100 Subject: What is the status of the installation of Smallwiki Message-ID: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> Hi alex and lukas I discussed with a guy that told me that installing swiki was one click :) and ask me what was the status of that for SmallWiki. So I would like to know what we could do to have a simple distribution with one click ready to use image. I'm not talking about producing an exe (even if sander is doing some experiment for moose and Codecrawler in this moment). After the OOPSLA deadline we should really have a look at that. Stef From renggli at student.unibe.ch Sat Feb 7 22:41:40 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Sat, 7 Feb 2004 22:41:40 +0100 Subject: What is the status of the installation of Smallwiki In-Reply-To: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> References: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> Message-ID: <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> > I discussed with a guy that told me that installing > swiki was one click :) and ask me what was the status > of that for SmallWiki. So I would like to know what > we could do to have a simple distribution with one > click ready to use image. Actually this would be fairly simple to do, but I still had no time to implement that the web-server starts-up automatically when opening the window. I'm still looking for the best way to get a notification when the image is started or stopped, there is no such obvious thing as I know from Squeak. Probably someone on this list can point me into the right direction, else I'll ask in the vwnc-mailing-list. > I'm not talking about producing an exe (even if sander > is doing some experiment for moose and Codecrawler in > this moment). For OS X creating one executable file with everything in it is very simple, but for other os it isn't that easy. Lukas -- Lukas Renggli http://renggli.freezope.org From bergel at iam.unibe.ch Sun Feb 8 13:27:39 2004 From: bergel at iam.unibe.ch (Alexandre Bergel) Date: Sun, 8 Feb 2004 13:27:39 +0100 Subject: What is the status of the installation of Smallwiki In-Reply-To: <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> References: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> Message-ID: <20040208122739.GD16525@iam.unibe.ch> Hi! There is within Squeak some way for perfoming some operation at start-time. Here is a short example: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Object subclass: #MyGreatLauncher instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'MyGreatLauncher' AutoStart addLauncher: MyGreatLauncher MyGreatLauncher compile: 'parameters: aDictionary Transcript show: aDictionary printString; cr'. MyGreatLauncher compile: 'startUp Transcript show: ''I am launched from startup!!!!'''. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Execute line by line, then save the image. But be careful, when I tested it, it seems the startUp method is called twice... Cheers, Alexandre On Sat, Feb 07, 2004 at 10:41:40PM +0100, Lukas Renggli wrote: > >I discussed with a guy that told me that installing > >swiki was one click :) and ask me what was the status > >of that for SmallWiki. So I would like to know what > >we could do to have a simple distribution with one > >click ready to use image. > > Actually this would be fairly simple to do, but I still had no time to > implement that the web-server starts-up automatically when opening the > window. I'm still looking for the best way to get a notification when > the image is started or stopped, there is no such obvious thing as I > know from Squeak. Probably someone on this list can point me into the > right direction, else I'll ask in the vwnc-mailing-list. > > >I'm not talking about producing an exe (even if sander > >is doing some experiment for moose and Codecrawler in > >this moment). > > For OS X creating one executable file with everything in it is very > simple, but for other os it isn't that easy. > > Lukas > > -- > Lukas Renggli > http://renggli.freezope.org -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.iam.unibe.ch/~bergel ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From renggli at student.unibe.ch Sun Feb 8 14:00:16 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Sun, 8 Feb 2004 14:00:16 +0100 Subject: What is the status of the installation of Smallwiki In-Reply-To: <20040208122739.GD16525@iam.unibe.ch> References: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> <20040208122739.GD16525@iam.unibe.ch> Message-ID: > There is within Squeak some way for perfoming some operation at > start-time. Yes, I know that it is simple in Squeak, but I don't know how to do it in VisualWorks. Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From avanos at xs4all.nl Sun Feb 8 15:07:46 2004 From: avanos at xs4all.nl (Adriaan van Os) Date: Sun, 8 Feb 2004 15:07:46 +0100 (CET) Subject: What is the status of the installation of Smallwiki In-Reply-To: References: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> <20040208122739.GD16525@iam.unibe.ch> Message-ID: <9500.213.84.174.51.1076249266.squirrel@webmail.xs4all.nl> Have a look at ObjectMemory class>>returnFromSnapshotWithPriority:. Adriaan. >> There is within Squeak some way for perfoming some operation at >> start-time. > > Yes, I know that it is simple in Squeak, but I don't know how to do it > in VisualWorks. > > Cheers, > Lukas > > -- > Lukas Renggli > http://renggli.freezope.org > > From girba at iam.unibe.ch Mon Feb 9 10:07:58 2004 From: girba at iam.unibe.ch (Tudor Girba) Date: Mon, 9 Feb 2004 10:07:58 +0100 Subject: What is the status of the installation of Smallwiki In-Reply-To: <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> Message-ID: <7429CC41-5ADF-11D8-A3ED-000393710000@iam.unibe.ch> On Saturday, Feb 7, 2004, at 22:41 Europe/Zurich, Lukas Renggli wrote: > For OS X creating one executable file with everything in it is very > simple, but for other os it isn't that easy. Can you give me some pointers in this matter? I am interested because I would like to have that for Moose. Doru. -- Tudor Adrian Girba Software Composition Group (www.iam.unibe.ch/~girba) University of Bern, Switzerland "Problem solving should be concentrated on describing the problem in a way that is relevant for the solution." From renggli at student.unibe.ch Tue Feb 10 14:00:11 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Tue, 10 Feb 2004 14:00:11 +0100 Subject: What is the status of the installation of Smallwiki In-Reply-To: <7429CC41-5ADF-11D8-A3ED-000393710000@iam.unibe.ch> References: <7429CC41-5ADF-11D8-A3ED-000393710000@iam.unibe.ch> Message-ID: <0F728EAC-5BC9-11D8-80FE-000393CFE6C8@student.unibe.ch> >> For OS X creating one executable file with everything in it is very >> simple, but for other os it isn't that easy. > > Can you give me some pointers in this matter? I am interested because > I would like to have that for Moose. In OS X applications are basically folder that have a certain structure. Right-click on the VisualWorks VM in the finder and hit 'Show Package Contents'. There are several things you might wanna look at: * /Contents/Info.plist - an XML configuration file telling about what and how to run the application * /Contents/MacOS - the directory with the real executable files, it should be also possible to add a script in there, i think * /Contents/Resrouces - you can put other file (like the image and the sources) in there For details have a look at the Apple developer documentation. Hope this gives you some pointers anyway. Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From renggli at student.unibe.ch Wed Feb 11 15:52:45 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Wed, 11 Feb 2004 15:52:45 +0100 Subject: [Fwd: Re: possible bug] In-Reply-To: <402A3832.8070008@daedalos.com> References: <402A3832.8070008@daedalos.com> Message-ID: Hi Sander, > I was trying to look at the RSS feed of the SmallWiki at kilana and at > first BottomFeeder (my favourite Smalltalk-based newsreader) was not > able to read it. James Robertson looked at it and found problems with > the RSS you generate (look at his comments below). He made > BottomFeeder more forgiving, but it would be good if you could fix the > feed. I think BottomFeeder should ignore any unknown namespaces and just display the ... thing, that is also available and where I currently render the modification date only. In a previous version I tried to render the first paragraph of the page or the first 500 characters as plain text, but this didn't work out well. This is the reason why I decided to render the whole document body as HTML into its own namespace. My reader displays the page in-lined in the browser-window and I think it is very convenient. Readers that cannot handle HTML should ignore that section, but obviously this can be a problem because the code inside is not guaranteed to be valid XML as SmallWiki users can put (wrong) HTML code manually inside any page. Anyway, I don't know what to do on this issue? I thought that XML-Parsers will ignore anything inside , but obviously this is wrong or I am doing something wrong with the encoding of the CDATA? > And a feature request (in case you have too much free time ;). I > subscribed to the Changes page of the Moose wiki, to track all the > changes that occur to that wiki. It would be nice if I could click on > the entry and it would open the page for me in my browser (like I can > do on my Slashdot feed and others). I guess the entries in the XML > should contain some URL information. [...] > I was wrong about my 'feature request'. I looked a bit at the XML > SmallWiki generates and I saw the you actually _do_ generate item > links. So it should work. It must be a problem with my setup or with > BottomFeeder. Yes, this is what I intended to write ;) Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From jarober at gosmalltalk.com Wed Feb 11 16:09:57 2004 From: jarober at gosmalltalk.com (James Robertson) Date: Wed, 11 Feb 2004 10:09:57 -0500 Subject: [Fwd: Re: possible bug] In-Reply-To: References: <402A3832.8070008@daedalos.com> Message-ID: <6.0.1.1.2.20040211100547.047e4140@www.gosmalltalk.com> At 09:52 AM 2/11/2004, Lukas Renggli wrote: >Hi Sander, > >>I was trying to look at the RSS feed of the SmallWiki at kilana and at >>first BottomFeeder (my favourite Smalltalk-based newsreader) was not able >>to read it. James Robertson looked at it and found problems with the RSS >>you generate (look at his comments below). He made BottomFeeder more >>forgiving, but it would be good if you could fix the feed. > >I think BottomFeeder should ignore any unknown namespaces and just display >the ... thing, that is also available and where >I currently render the modification date only. In a previous version I >tried to render the first paragraph of the page or the first 500 >characters as plain text, but this didn't work out well. It does that in the latest dev stream. Even so, this is bad xml, and most other readers are going to bail on it. >This is the reason why I decided to render the whole document body as HTML >into its own namespace. My reader displays the page in-lined in the >browser-window and I think it is very convenient. Readers that cannot >handle HTML should ignore that section, but obviously this can be a >problem because the code inside > > That's not the issue. The issues are: 1) You need to declare the namespace at the top of your doc - like this: http://dotnetguy.techieswithcats.com/rss/allposts.xml also, the content:encoded section should really be on it's own, not inside >is not guaranteed to be valid XML as SmallWiki users can put (wrong) HTML >code manually inside any page. Anyway, I don't know what to do on this >issue? I thought that XML-Parsers will ignore anything inside ... ]]>, but obviously this is wrong or I am doing something wrong with >the encoding of the CDATA? No, just the wrong wrapping. Check it out at http://www.feedvalidator.org >>And a feature request (in case you have too much free time ;). I >>subscribed to the Changes page of the Moose wiki, to track all the >>changes that occur to that wiki. It would be nice if I could click on the >>entry and it would open the page for me in my browser (like I can do on >>my Slashdot feed and others). I guess the entries in the XML should >>contain some URL information. > >[...] > >>I was wrong about my 'feature request'. I looked a bit at the XML >>SmallWiki generates and I saw the you actually _do_ generate item links. >>So it should work. It must be a problem with my setup or with BottomFeeder. > >Yes, this is what I intended to write ;) > >Cheers, >Lukas > >-- >Lukas Renggli >http://renggli.freezope.org > > James Robertson, Product Manager, Cincom Smalltalk http://www.cincomsmalltalk.com/blog/blogView jarober at gosmalltalk.com From renggli at student.unibe.ch Wed Feb 11 18:08:17 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Wed, 11 Feb 2004 18:08:17 +0100 Subject: possible bug In-Reply-To: <6.0.1.1.2.20040211100547.047e4140@www.gosmalltalk.com> References: <402A3832.8070008@daedalos.com> <6.0.1.1.2.20040211100547.047e4140@www.gosmalltalk.com> Message-ID: Hi, >> This is the reason why I decided to render the whole document body as >> HTML into its own namespace. My reader displays the page in-lined in >> the browser-window and I think it is very convenient. Readers that >> cannot handle HTML should ignore that section, but obviously this can >> be a problem because the code inside >> >> > > That's not the issue. The issues are: > > 1) You need to declare the namespace at the top of your doc > - like this: > > http://dotnetguy.techieswithcats.com/rss/allposts.xml thanks for the hint. I'm not very much into XML and didn't know about this, I just copied some code I found on the web and tested it with a few clients. The current SmallWiki fixes the issue and I updated the kilana-server. > also, the content:encoded section should really be on it's own, not > inside As a matter of fact this had never been the case. >> is not guaranteed to be valid XML as SmallWiki users can put (wrong) >> HTML code manually inside any page. Anyway, I don't know what to do >> on this issue? I thought that XML-Parsers will ignore anything inside >> , but obviously this is wrong or I am doing >> something wrong with the encoding of the CDATA? > > No, just the wrong wrapping. Check it out at > http://www.feedvalidator.org Cool, it validates now without problems: http://www.feedvalidator.org/check.cgi? url=http%3A%2F%2Fkilana.unibe.ch%3A9090%2F%3Faction%3DRSSChangesFeed Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From m3rabb at microlingua.com Fri Feb 13 23:55:51 2004 From: m3rabb at microlingua.com (Maurice Rabb) Date: Fri, 13 Feb 2004 16:55:51 -0600 Subject: Problems after snapshot of SWImageStorage In-Reply-To: <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> References: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> Message-ID: Hi, I am having some trouble with my SmallWiki. server _ SWKom startOn: 8888. storage _ SWImageStorage new. storage delay: 3 * 60. server storage: storage. When the delay expires, it stores a snapshot as expected but the VM freezes up. There is some problem with the image it saves. It is not runnable. However eveything seems to work properly if I execute: server storage snapshot. before the delay expires. I can do this repeatedly, but if it is done via the delay it hoses the image. Has anyone else experienced this? I would appreciate any suggestions. Thanks, Maurice From m3rabb at microlingua.com Sat Feb 14 00:02:55 2004 From: m3rabb at microlingua.com (Maurice Rabb) Date: Fri, 13 Feb 2004 17:02:55 -0600 Subject: Are embedded SWResource working properly? Message-ID: Hi, I am able to create SWResource with a jpg. When I view the link the image appears as expected. However, I was expecting that when I set the embedded flag the image would also show in the pages which contain an internal link to it. Is this right? How can I get a picture that I have included as an SWResource to display on other pages? BTW, I am using Squeak 3.6 Thanks, Maurice From chris at chrisburkert.de Sat Feb 14 00:45:13 2004 From: chris at chrisburkert.de (Chris Burkert) Date: Sat, 14 Feb 2004 00:45:13 +0100 Subject: Problems after snapshot of SWImageStorage In-Reply-To: References: <9B3A5FD2-5992-11D8-A749-000A9573EAE2@iam.unibe.ch> <69D64746-59B6-11D8-8A5E-000393CFE6C8@student.unibe.ch> Message-ID: <402D6189.7030000@chrisburkert.de> Hi Maurice, Maurice Rabb wrote: > I am having some trouble with my SmallWiki. > > server _ SWKom startOn: 8888. > storage _ SWImageStorage new. > storage delay: 3 * 60. > server storage: storage. > > When the delay expires, it stores a snapshot as expected but the VM > freezes up. There is some problem with the image it saves. It is not > runnable. > > However eveything seems to work properly if I execute: > > server storage snapshot. > > before the delay expires. I can do this repeatedly, but if it is done > via the delay it hoses the image. > > Has anyone else experienced this? I would appreciate any suggestions. Yes I can reproduce this. Thanks for the report. Unfortunatly I can't have a look at this in the next days ... exams. I will sync the Squeak Port with VW in about 3-4 weeks and fix some bugs including this one. I hope you can wait till then or send me your own fix :-) Regards Chris Burkert -- http://www.chrisburkert.de/ From renggli at student.unibe.ch Sat Feb 14 09:50:43 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Sat, 14 Feb 2004 09:50:43 +0100 Subject: Are embedded SWResource working properly? In-Reply-To: References: Message-ID: Hi Maurice, > I am able to create SWResource with a jpg. When I view the link the > image appears as expected. However, I was expecting that when I set > the embedded flag the image would also show in the pages which contain > an internal link to it. Is this right? I'm not sure if I understand your question correctly: The thing is that SmallWiki tries to inline the resource whenever you put enable the embedding-flag. It simply creates a when you disable this flag. However there had been a problem detecting the correct mime-type in Squeak, I don't know if this is working now. SmallWiki has to know it in order to be able to inline the resource correctly (e.g. for images it has to write an , for videos an , etc.). > How can I get a picture that I have included as an SWResource to > display on other pages? If your picture has got the title 'My Picture', create a link like *My Picture* at the place in your wiki where you want to include it. Hope this helps, Lukas -- Lukas Renggli http://renggli.freezope.org From ducasse at iam.unibe.ch Sat Feb 14 10:04:48 2004 From: ducasse at iam.unibe.ch (ducasse) Date: Sat, 14 Feb 2004 10:04:48 +0100 Subject: Are embedded SWResource working properly? In-Reply-To: References: Message-ID: >> How can I get a picture that I have included as an SWResource to >> display on other pages? > > If your picture has got the title 'My Picture', create a link like *My > Picture* at the place in your wiki where you want to include it. Hi lukas Is it scoped to a Wiki? I mean can I see your pictures by accident even you would like them to be only visible by some people with a given status. Stef > > Hope this helps, > Lukas > > -- > Lukas Renggli > http://renggli.freezope.org > From renggli at student.unibe.ch Sat Feb 14 10:08:06 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Sat, 14 Feb 2004 10:08:06 +0100 Subject: Are embedded SWResource working properly? In-Reply-To: References: Message-ID: <4D4998F3-5ECD-11D8-AC45-000393CFE6C8@student.unibe.ch> Hi Stef, >>> How can I get a picture that I have included as an SWResource to >>> display on other pages? >> >> If your picture has got the title 'My Picture', create a link like >> *My Picture* at the place in your wiki where you want to include it. > > Hi lukas > > Is it scoped to a Wiki? > I mean can I see your pictures by accident even you would like them to > be only visible by some people with a given status. The same security rules as for pages and folders also apply to resources. If you don't have the view-permission they are not displayed, this means probably most browsers will show a broken-image icon on your wiki-page. Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From chris at chrisburkert.de Sat Feb 14 10:08:32 2004 From: chris at chrisburkert.de (Chris Burkert) Date: Sat, 14 Feb 2004 10:08:32 +0100 Subject: Are embedded SWResource working properly? In-Reply-To: References: Message-ID: <402DE590.50504@chrisburkert.de> Lukas Renggli wrote: > However there had been a problem detecting the correct mime-type in > Squeak, I don't know if this is working now. This problem is still there. I'll find the time for it next week. Regards Chris Burkert -- http://www.chrisburkert.de/ From m3rabb at microlingua.com Sat Feb 14 20:27:06 2004 From: m3rabb at microlingua.com (Maurice Rabb) Date: Sat, 14 Feb 2004 13:27:06 -0600 Subject: Are embedded SWResource working properly? In-Reply-To: <402DE590.50504@chrisburkert.de> References: <402DE590.50504@chrisburkert.de> Message-ID: On Feb 14, 2004, at 2:50, Lukas Renggli wrote: > However there had been a problem detecting the correct mime-type in > Squeak, I don't know if this is working now. SmallWiki has to know it > in order to be able to inline the resource correctly (e.g. for images > it has to write an , for videos an , > etc.). > >> How can I get a picture that I have included as an SWResource to >> display on other pages? > > If your picture has got the title 'My Picture', create a link like *My > Picture* at the place in your wiki where you want to include it. Lukas, This must be the problem. Because when I include a *My Picture* link for the resource in another page, it simple displays a standard link named "My Picture*, as opposed to displaying the picture. If I click the link in opens a page containing only the picture. BTW, can anyone point me to a page on a current SmallWiki that contains an embedded picture link? I would like to see how it is supposed to work. On Feb 14, 2004, at 3:08, Chris Burkert wrote: > Lukas Renggli wrote: >> However there had been a problem detecting the correct mime-type in >> Squeak, I don't know if this is working now. > > This problem is still there. I'll find the time for it next week. > I look forward to the fix Chris! Thanks Maurice From renggli at student.unibe.ch Sat Feb 14 20:41:18 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Sat, 14 Feb 2004 20:41:18 +0100 Subject: Are embedded SWResource working properly? In-Reply-To: References: <402DE590.50504@chrisburkert.de> Message-ID: Hi Maurice, > BTW, can anyone point me to a page on a current SmallWiki that > contains an embedded picture link? I would like to see how it is > supposed to work. hit edit on this page http://kilana.unibe.ch:9090/ese2003gruppen-smallwikis/sureshockwriters/ to see the link *ssw-image* pointing to this http://kilana.unibe.ch:9090/ese2003gruppen-smallwikis/ssw-image/ resource. This server is running the latest SmallWiki code on VisualWorks 7.0. Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From m3rabb at microlingua.com Sat Feb 14 21:01:17 2004 From: m3rabb at microlingua.com (Maurice Rabb) Date: Sat, 14 Feb 2004 14:01:17 -0600 Subject: Are embedded SWResource working properly? In-Reply-To: References: <402DE590.50504@chrisburkert.de> Message-ID: <8D1C9F10-5F28-11D8-8868-000393B61628@microlingua.com> Thanks Lukas, I see how it works. I toggled the embedded flag to see the difference. Unfortunate, when I turned the embedded flag back on it longer seems to register, as the link now appears as a word. Is this a permission issue? Maurice On Feb 14, 2004, at 13:41, Lukas Renggli wrote: > Hi Maurice, > >> BTW, can anyone point me to a page on a current SmallWiki that >> contains an embedded picture link? I would like to see how it is >> supposed to work. > > hit edit on this page > > http://kilana.unibe.ch:9090/ese2003gruppen-smallwikis/ > sureshockwriters/ From renggli at student.unibe.ch Sat Feb 14 21:58:33 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Sat, 14 Feb 2004 21:58:33 +0100 Subject: Are embedded SWResource working properly? In-Reply-To: <8D1C9F10-5F28-11D8-8868-000393B61628@microlingua.com> References: <402DE590.50504@chrisburkert.de> <8D1C9F10-5F28-11D8-8868-000393B61628@microlingua.com> Message-ID: <8D2FE3DC-5F30-11D8-AC45-000393CFE6C8@student.unibe.ch> Hi Maurice, > I see how it works. I toggled the embedded flag to see the > difference. Unfortunate, when I turned the embedded flag back on it > longer seems to register, as the link now appears as a word. Is this > a permission issue? no, but you discovered a bug, it should not reset the mine-type when you do not upload a new resource. I will fix this tomorrow. Lukas -- Lukas Renggli http://renggli.freezope.org From Roel.Wuyts at ulb.ac.be Tue Feb 17 19:05:50 2004 From: Roel.Wuyts at ulb.ac.be (Roel Wuyts) Date: Tue, 17 Feb 2004 19:05:50 +0100 Subject: What is the status of the installation of Smallwiki In-Reply-To: <0F728EAC-5BC9-11D8-80FE-000393CFE6C8@student.unibe.ch> References: <7429CC41-5ADF-11D8-A3ED-000393710000@iam.unibe.ch> <0F728EAC-5BC9-11D8-80FE-000393CFE6C8@student.unibe.ch> Message-ID: See my Diamond code. The idea is that you add a method that adds a pragma with the start-up (or shutdown) code. I used that in Diamond to do some things automatically when you launch an image to start a script. At least as simple as Squeak once you know it :-) On 10 Feb 2004, at 14:00, Lukas Renggli wrote: >>> For OS X creating one executable file with everything in it is very >>> simple, but for other os it isn't that easy. >> >> Can you give me some pointers in this matter? I am interested because >> I would like to have that for Moose. > > In OS X applications are basically folder that have a certain > structure. Right-click on the VisualWorks VM in the finder and hit > 'Show Package Contents'. There are several things you might wanna look > at: > > * /Contents/Info.plist - an XML configuration file telling about what > and how to run the application > > * /Contents/MacOS - the directory with the real executable files, it > should be also possible to add a script in there, i think > > * /Contents/Resrouces - you can put other file (like the image and the > sources) in there > > For details have a look at the Apple developer documentation. Hope > this gives you some pointers anyway. > > Cheers, > Lukas > > -- > Lukas Renggli > http://renggli.freezope.org > > Roel Wuyts DeComp roel.wuyts at ulb.ac.be Universit? Libre de Bruxelles http://homepages.ulb.ac.be/~rowuyts/ Belgique Board Member of the European Smalltalk User Group: www.esug.org From chris at chrisburkert.de Tue Feb 17 19:16:26 2004 From: chris at chrisburkert.de (Chris Burkert) Date: Tue, 17 Feb 2004 19:16:26 +0100 Subject: [SmallWiki] SWResource Bug Message-ID: <40325A7A.2030804@chrisburkert.de> Hi people I finally found the time to fix the bug with the unknown mimetypes. The new version (0.9.23-3) is up at SM. I will sync Squeak-SW with VW-SW in March. @Lukas Hannes posted a Bug on 12.30.2003 about mp3's in SmallWiki. The problem (mimetype is application/octet-stream) is also in the VW implementation. Maybe you can take a look at it. Regards Chris Burkert -- http://www.chrisburkert.de/ From renggli at student.unibe.ch Tue Feb 17 22:00:39 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Tue, 17 Feb 2004 22:00:39 +0100 Subject: [SmallWiki] SWResource Bug In-Reply-To: <40325A7A.2030804@chrisburkert.de> References: <40325A7A.2030804@chrisburkert.de> Message-ID: <57427B52-618C-11D8-9CE6-000393CFE6C8@student.unibe.ch> Hi Chris, > @Lukas > Hannes posted a Bug on 12.30.2003 about mp3's in SmallWiki. The > problem (mimetype is application/octet-stream) is also in the VW > implementation. Maybe you can take a look at it. this is strange, but thanks for pointing it out. I tested it and it works on my machine. An uploaded mp3 gets correctly rendered and shows up as 'audio/mpeg'. Obviously some web-browsers send different mime-types, so I added an additional check for 'application/octet-stream'. I will publish this change with the next commit on Cincom StORE. Hope this solves the problem. Cheers, Lukas -- Lukas Renggli http://renggli.freezope.org From Roel.Wuyts at ulb.ac.be Wed Feb 25 14:48:46 2004 From: Roel.Wuyts at ulb.ac.be (Roel Wuyts) Date: Wed, 25 Feb 2004 14:48:46 +0100 Subject: Alias bug? Message-ID: <550E4F56-6799-11D8-AB2F-000A95C8D208@ulb.ac.be> Hi, I just updated a SmallWwiki page ( http://kilana.unibe.ch:9090/woor/workshopcallforcontributions/ ), on which I put a resource (a pdf file). So I inserted the following in the page: *pdf version of this call>CallForContributions* and created it as a link to a resource, uploading my pdf file. All is well, except that the aliasing does not work: you can see that the link shows up as "CallForContributions", instead of 'pdf version of this call' Is this a feature :-) ? -- Roel Wuyts DeComp roel.wuyts at ulb.ac.be Universit? Libre de Bruxelles http://homepages.ulb.ac.be/~rowuyts/ Belgique Board Member of the European Smalltalk User Group: www.esug.org From renggli at student.unibe.ch Wed Feb 25 15:46:46 2004 From: renggli at student.unibe.ch (Lukas Renggli) Date: Wed, 25 Feb 2004 15:46:46 +0100 Subject: Alias bug? In-Reply-To: <550E4F56-6799-11D8-AB2F-000A95C8D208@ulb.ac.be> References: <550E4F56-6799-11D8-AB2F-000A95C8D208@ulb.ac.be> Message-ID: <6F9A87CB-67A1-11D8-875B-000393CFE6C8@student.unibe.ch> Hi Roel, > *pdf version of this call>CallForContributions* > > and created it as a link to a resource, uploading my pdf file. > > All is well, except that the aliasing does not work: you can see that > the link shows up as "CallForContributions", instead of 'pdf version > of this call' > > Is this a feature :-) ? I agree this is really strange, I had some moments to understand what actually happens: The thing is that the aliasing works for pages and folders as described in the help-pages [1], but not for resources. The rendering of links to resources is somehow special as I try to inline the images, sounds, videos, etc. whenever possible. With a PDF this isn't possible of course, but still I must create a slightly different url to allow downloading smoothly. As a workaround I would suggest to rename the file itself. I will try to fix it as soon as possible, but I doubt it will be during the next two weeks. There are also a few other problems/limitations with links that I hope to fix sometime, but as long as nobody complains I won't hurry :P Cheers, Lukas [1] You can also alias all these links using >. So, you can create a link like this: *Alias>Reference*. The link will show up as Alias, but link to Reference. For images, the alias text will become the alternate text for the image. -- Lukas Renggli http://renggli.freezope.org