Hi Dan!
Dan Shafer <[hidden email]> wrote: > I'd like to take a look at Maui but I can't seem to do so. My image > (a clean 3.8-6667full) appears to have Maui installed since when I > open SqueakMap, it doesn't give me an install option and the package > has no arrow, which the docs say means I should have it installed in > the image. But I can't find a class called Maui. > > Any suggestions? No arrow means no releases available at all. So no, you can't install it and you don't have it installed. :) regards, Göran |
OH, well. I guess I can't look at it then, can I?
:-) Dan On Jul 10, 2006, at 4:40 PM, [hidden email] wrote: > Hi Dan! > > Dan Shafer <[hidden email]> wrote: >> I'd like to take a look at Maui but I can't seem to do so. My image >> (a clean 3.8-6667full) appears to have Maui installed since when I >> open SqueakMap, it doesn't give me an install option and the package >> has no arrow, which the docs say means I should have it installed in >> the image. But I can't find a class called Maui. >> >> Any suggestions? > > No arrow means no releases available at all. So no, you can't > install it > and you don't have it installed. :) > > regards, Göran > |
In reply to this post by Dan Shafer-3
OK, we got two kilobucks. :-)
On Jul 9, 2006, at 11:15 PM, Dan Shafer wrote: > +1 > > Dan > On Jul 9, 2006, at 9:16 PM, Todd Blanchard wrote: > >> I'd toss in a kilobuck towards this. > > |
On 10-Jul-06, at 10:10 PM, Todd Blanchard wrote: > OK, we got two kilobucks. :-) So that gets you four days of my time if you want it.... tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Strange OpCodes: HALT: No-Op |
I didn't know you were a designer.
On Jul 10, 2006, at 10:23 PM, tim Rowledge wrote: > > On 10-Jul-06, at 10:10 PM, Todd Blanchard wrote: > >> OK, we got two kilobucks. :-) > > So that gets you four days of my time if you want it.... > > > tim > -- > tim Rowledge; [hidden email]; http://www.rowledge.org/tim > Strange OpCodes: HALT: No-Op > > > |
On Tue, 11 Jul 2006 07:41:02 +0200, Todd Blanchard wrote:
> I didn't know you were a designer. Do you happen to know a designer who can make her artwork a living in a Squeak image? /Klaus > On Jul 10, 2006, at 10:23 PM, tim Rowledge wrote: > >> >> On 10-Jul-06, at 10:10 PM, Todd Blanchard wrote: >> >>> OK, we got two kilobucks. :-) >> >> So that gets you four days of my time if you want it.... >> >> >> tim >> -- >> tim Rowledge; [hidden email]; http://www.rowledge.org/tim >> Strange OpCodes: HALT: No-Op >> >> >> > > > |
In reply to this post by Dan Shafer-3
Hello Dan,
DS> OH, well. I guess I can't look at it then, can I? it can be done. If my memory is correct you have to add a http-repository to MC browser and just install maui-cmm.96.mcz I copy from SqueakSource: MCHttpRepository location: 'http://www.squeaksource.com/Maui' user: '' password: '' Then install the latest Version you find. I tried on 3.8, it seemed to work but I didn't manage to find out how to do what I wanted. Cheers Herbert mailto:[hidden email] |
Thanks. I'll try that tomorrow when I'm awake!
Dan On Jul 11, 2006, at 12:06 AM, Herbert König wrote: > Hello Dan, > > DS> OH, well. I guess I can't look at it then, can I? > it can be done. > > If my memory is correct you have to add a http-repository to MC > browser and just install maui-cmm.96.mcz > > I copy from SqueakSource: > > MCHttpRepository > location: 'http://www.squeaksource.com/Maui' > user: '' > password: '' > > Then install the latest Version you find. I tried on 3.8, it seemed to > work but I didn't manage to find out how to do what I wanted. > > > Cheers > > Herbert mailto:[hidden email] > > |
In reply to this post by timrowledge
Il giorno lun, 10/07/2006 alle 22.23 -0700, tim Rowledge ha scritto:
> On 10-Jul-06, at 10:10 PM, Todd Blanchard wrote: > > > OK, we got two kilobucks. :-) > > So that gets you four days of my time if you want it.... That's a bargain! Giovanni |
In reply to this post by Klaus D. Witzel
No but I don't need one. There was a great item on Digg last week
about the design processes for Mac's Aqua vs Windows Vista UI designs (that I don't have time to find because I have to run to work now). Neither design group began with code - just mockups and art to produce a spec. I want to buy that, put it up on a website, and invite the community to implement it (I'll certainly do my share within my abilities). On Jul 11, 2006, at 12:03 AM, Klaus D. Witzel wrote: > On Tue, 11 Jul 2006 07:41:02 +0200, Todd Blanchard wrote: > >> I didn't know you were a designer. > > Do you happen to know a designer who can make her artwork a living > in a Squeak image? > > /Klaus > >> On Jul 10, 2006, at 10:23 PM, tim Rowledge wrote: >> >>> >>> On 10-Jul-06, at 10:10 PM, Todd Blanchard wrote: >>> >>>> OK, we got two kilobucks. :-) >>> >>> So that gets you four days of my time if you want it.... >>> >>> >>> tim >>> -- >>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim >>> Strange OpCodes: HALT: No-Op >>> >>> >>> >> >> >> > > > |
In reply to this post by Dan Shafer-3
Its only loadable from SqueakSource, not SqueakMap.
Here's some information: http://minnow.cc.gatech.edu/squeak/3836 Let me know if you have any questions, have fun. --- Dan Shafer <[hidden email]> wrote: > I'd like to take a look at Maui but I can't seem to do so. My image > (a clean 3.8-6667full) appears to have Maui installed since when I > open SqueakMap, it doesn't give me an install option and the package > has no arrow, which the docs say means I should have it installed in > the image. But I can't find a class called Maui. > > Any suggestions? > > On Jul 10, 2006, at 10:14 AM, Chris Muller wrote: > > > Although far from native or standard anything, "Maui" is a > > direct-manipulation "IDE" that has been available for some time on > > SqueakSource. It's a naked-objects framework, so not only a direct > > manipulation IDE, its direct-manipulation of the actual running > UI's. > > > > I think its fun, and a fine example how a generic, open-ended UI > > framework like Morphic permits promotes creative thinking and new > > ideas. Of course, the main theme lately has been lack of support > for > > existing ideas... > > > > > > --- Dan Shafer <[hidden email]> wrote: > > > >> Rob.... > >> > >> Good to hear from you again here. > >> > >> I agree; no need to stay with one UI, whatever it is. I'm anxious > to > >> get the wx stuff working because I want to turn my attention then > to > >> creating a graphical IDE for the construction of windows using the > wx > >> widgets. A direct-manipulation IDE is something I sorely miss in > >> Smalltalk. > > > > > > > |
In reply to this post by tblanchard
On 10-Jul-06, at 10:41 PM, Todd Blanchard wrote: > I didn't know you were a designer. Master of Design, Royal College of Art. Three years as an IBM Research Fellow working on the industrial design of user interfaces for CAD systems for industrial design (a bit incestuous I know, but what the hell). Sidetracked into Smalltalk as a tool for prototyping UIs (because magic markers just don't cut it) and then into Smalltalk implementation because you couldn't actually get Smalltalk systems in '83. Even went to so far as to get involved in designing a CPU to run ST on (the ARM) and an OS or two to support it (early RISC OS, ActiveBookOS, muCOS etc). One day I might even get my stack unwound enough to work on CAD UIs again.... tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Useful random insult:- Diarrhea of the mouth; constipation of the ideas. |
In reply to this post by Chris Muller
>> >> p.p.s. inspired by Paul Bissex - a guy who once wrote a small article >> about squeak for Wired - challenge on: >> http://e-scribe.com/news/193 >> I wrote an Etoys version of this "reverse"-game. >> It can be found on >> http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/ >> smalltalk/squeak/projects/reverse.pr >> >> (I hope you all have the squeakland plugin installed... ;-) ) >> >> It has only a few lines more than the smalltalk (I included a >> smalltalk version), python, ruby,... version but comes with a much >> more sophisticated user interface. >> So I do think that Etoys are the way to go... no matter what the >> language is underneath - be it smalltalk/python/ruby/etc... On Jul 7, 2006, at 8:09 PM, Chris Muller wrote: >> > > Hi Markus, I didn't see any Smalltalk on that page. Just for fun I > coded up that reverse game and posted it, we'll see if it shows > up. It > was 8 lines "beating" Ruby by 2 lines and Python by 1. > > Here's the code I ended up with: > > numbers := (1 to: 9) asArray shuffled. > steps := 0. > > [ Transcript cr; show: numbers. > numbers isSorted ] whileFalse: > [ flipCount := (FillInTheBlank request: 'reverse how many?') > asNumber. > 1 to: flipCount//2 do: [ :n | numbers swap: n with: flipCount-n+1 ]. > steps := steps + 1 ]. > > Transcript cr; show: 'done, that took you ', steps printString, ' > steps.' > > Strange, I'm not sure why there are ~20 languages (including "REBOL") > represented but no mention of Smalltalk anywhere, especially if you > had > submitted it.. Hi Chris, thanks! Using your swap and isSorted methods and our extreme naked objects approach ;-) I came up with a version of 7 lines: steps := 0. numbers := (1 to: 9) asArray shuffled. [numbers isSorted ] whileFalse: [flipCount:= numbers indexOf: ((SelectionMenu selections: numbers) startUpWithCaption: 'Revert up to which number?') . 1 to: flipCount//2 do: [ :n | numbers swap: n with: flipCount-n+1 ]. steps := steps + 1]. PopUpMenu inform: 'You needed ', steps asString,' steps.' Don't know, why it did not show up, Paul sent me a mail that he liked squeak and wanted to add it...so I added him here on the bcc. Anyone tried the Etoys-Version? Someone told me that it was not working for him, but I did not investigate... http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/ smalltalk/squeak/projects/reverse.pr Cheers, Markus p.s. The following Python script does not work for me under OS-X. Maybe sorted() and reversed() need some library here? import random numbers = random.sample(range(1,10), 9) steps = 0 while numbers != sorted(numbers): print " ".join(map(str, numbers)) flipcount = int(raw_input("Reverse how many? ")) numbers[:flipcount] = reversed(numbers[:flipcount]) steps += 1 print "Done! That took you %d steps." % steps |
In reply to this post by Herbert König
> Then install the latest Version you find. I tried on 3.8, it seemed
> to > work but I didn't manage to find out how to do what I wanted. Hi Herbert, I wish I would have had a chance to help, that's what I'm here for. Maui is definitely different and very NOT obvious at first, but once you understand what can be done with its THREE widgets its fun to see how far you can take it. If you remember what it was it would be fun to reflect at least.. - Chris |
In reply to this post by timrowledge
tim Rowledge wrote:
> > On 10-Jul-06, at 10:41 PM, Todd Blanchard wrote: > >> I didn't know you were a designer. > > Master of Design, Royal College of Art. Three years as an IBM Research > Fellow working on the industrial design of user interfaces for CAD > systems for industrial design (a bit incestuous I know, but what the > hell). Sidetracked into Smalltalk as a tool for prototyping UIs > (because magic markers just don't cut it) and then into Smalltalk > implementation because you couldn't actually get Smalltalk systems in > '83. Even went to so far as to get involved in designing a CPU to run > ST on (the ARM) and an OS or two to support it (early RISC OS, > ActiveBookOS, muCOS etc). Do you have any art pieces / UI design examples / etc. for us to view via the web? -- brad sonaural |
On 11-Jul-06, at 10:19 AM, Brad Fuller wrote: > Tim, > Do you have any art pieces / UI design examples / etc. for us to view > via the web? Hmm. Almost all my UI research was done in the days when 64kb of memory was the price of a small car, so I can't think of anything that is webbable. Somewhere deep in level 3 or 4 of my basement I might have some paper stuff but it's a question of finding it. There are some (laughably poor) pictures of some of my furniture and motorcycle designs on my website (see below), which is in itself so encrusted in cobwebs that it is a disgrace. I think I'd count more as a 'feel' person than 'look' anyway, so pictures aren't that much help. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Change is inevitable....except from vending machines. |
In reply to this post by Markus Gälli-3
That is great! Not only is the program more stable because you can't
make bad input, but you also have a visual interface with both keyboard AND mouse support. We should get extra credit. What other language/environment can touch that?! :) --- Markus Gaelli <[hidden email]> wrote: > > >> > >> p.p.s. inspired by Paul Bissex - a guy who once wrote a small > article > >> about squeak for Wired - challenge on: > >> http://e-scribe.com/news/193 > >> I wrote an Etoys version of this "reverse"-game. > >> It can be found on > >> http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/ > >> smalltalk/squeak/projects/reverse.pr > >> > >> (I hope you all have the squeakland plugin installed... ;-) ) > >> > >> It has only a few lines more than the smalltalk (I included a > >> smalltalk version), python, ruby,... version but comes with a much > >> more sophisticated user interface. > >> So I do think that Etoys are the way to go... no matter what the > >> language is underneath - be it smalltalk/python/ruby/etc... > > On Jul 7, 2006, at 8:09 PM, Chris Muller wrote: > >> > > > > Hi Markus, I didn't see any Smalltalk on that page. Just for fun I > > coded up that reverse game and posted it, we'll see if it shows > > up. It > > was 8 lines "beating" Ruby by 2 lines and Python by 1. > > > > Here's the code I ended up with: > > > > numbers := (1 to: 9) asArray shuffled. > > steps := 0. > > > > [ Transcript cr; show: numbers. > > numbers isSorted ] whileFalse: > > [ flipCount := (FillInTheBlank request: 'reverse how many?') > > asNumber. > > 1 to: flipCount//2 do: [ :n | numbers swap: n with: flipCount-n+1 > ]. > > steps := steps + 1 ]. > > > > Transcript cr; show: 'done, that took you ', steps printString, ' > > steps.' > > > > Strange, I'm not sure why there are ~20 languages (including > "REBOL") > > represented but no mention of Smalltalk anywhere, especially if you > > had > > submitted it.. > > Hi Chris, > > thanks! Using your swap and isSorted methods and our extreme naked > objects approach ;-) > I came up with a version of 7 lines: > > steps := 0. > numbers := (1 to: 9) asArray shuffled. > [numbers isSorted ] whileFalse: > [flipCount:= numbers indexOf: ((SelectionMenu selections: numbers) > startUpWithCaption: 'Revert up to which number?') . > 1 to: flipCount//2 do: [ :n | numbers swap: n with: flipCount-n+1 ]. > steps := steps + 1]. > PopUpMenu inform: 'You needed ', steps asString,' steps.' > > Don't know, why it did not show up, Paul sent me a mail that he liked > squeak and wanted to add it...so I added him here on the bcc. > > Anyone tried the Etoys-Version? Someone told me that it was not > working for him, but I did not investigate... > > http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/ > smalltalk/squeak/projects/reverse.pr > > Cheers, > > Markus > > p.s. The following Python script does not work for me under OS-X. > Maybe sorted() and reversed() need some library here? > > import random > > numbers = random.sample(range(1,10), 9) > steps = 0 > > while numbers != sorted(numbers): > print " ".join(map(str, numbers)) > flipcount = int(raw_input("Reverse how many? ")) > numbers[:flipcount] = reversed(numbers[:flipcount]) > steps += 1 > > print "Done! That took you %d steps." % steps > > > > > |
Hey Chris,
thanks! (blush) I actually did not realize the keyboard-interface - you can actually type in the number to which you want to revert and then enter. Thanks for pointing this out... :-) Here is a slightly improved version, that keeps the "playfield" ;-) at the same place... steps := 0. numbers := (1 to: 9) asArray shuffled. [numbers isSorted] whileFalse: [flipCount:= numbers indexOf: ((SelectionMenu selections: numbers) startUpWithCaption: 'Revert up to which number?' at: Display center ). 1 to: flipCount//2 do: [:i | numbers swap: i with: flipCount-i+1]. steps := steps + 1]. PopUpMenu inform: 'You needed ', steps asString,' steps to sort the list.' Cheers, Markus p.s. I am wondering what it would take to write a version by scripting some morphs - and not exploiting the poor SelectionMenu... On Jul 11, 2006, at 9:16 PM, Chris Muller wrote: > That is great! Not only is the program more stable because you can't > make bad input, but you also have a visual interface with both > keyboard > AND mouse support. We should get extra credit. > > What other language/environment can touch that?! > > :) > > > --- Markus Gaelli <[hidden email]> wrote: > >> >>>> >>>> p.p.s. inspired by Paul Bissex - a guy who once wrote a small >> article >>>> about squeak for Wired - challenge on: >>>> http://e-scribe.com/news/193 >>>> I wrote an Etoys version of this "reverse"-game. >>>> It can be found on >>>> http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/ >>>> smalltalk/squeak/projects/reverse.pr >>>> >>>> (I hope you all have the squeakland plugin installed... ;-) ) >>>> >>>> It has only a few lines more than the smalltalk (I included a >>>> smalltalk version), python, ruby,... version but comes with a much >>>> more sophisticated user interface. >>>> So I do think that Etoys are the way to go... no matter what the >>>> language is underneath - be it smalltalk/python/ruby/etc... >> >> On Jul 7, 2006, at 8:09 PM, Chris Muller wrote: >>>> >>> >>> Hi Markus, I didn't see any Smalltalk on that page. Just for fun I >>> coded up that reverse game and posted it, we'll see if it shows >>> up. It >>> was 8 lines "beating" Ruby by 2 lines and Python by 1. >>> >>> Here's the code I ended up with: >>> >>> numbers := (1 to: 9) asArray shuffled. >>> steps := 0. >>> >>> [ Transcript cr; show: numbers. >>> numbers isSorted ] whileFalse: >>> [ flipCount := (FillInTheBlank request: 'reverse how many?') >>> asNumber. >>> 1 to: flipCount//2 do: [ :n | numbers swap: n with: flipCount-n+1 >> ]. >>> steps := steps + 1 ]. >>> >>> Transcript cr; show: 'done, that took you ', steps printString, ' >>> steps.' >>> >>> Strange, I'm not sure why there are ~20 languages (including >> "REBOL") >>> represented but no mention of Smalltalk anywhere, especially if you >>> had >>> submitted it.. >> >> Hi Chris, >> >> thanks! Using your swap and isSorted methods and our extreme naked >> objects approach ;-) >> I came up with a version of 7 lines: >> >> steps := 0. >> numbers := (1 to: 9) asArray shuffled. >> [numbers isSorted ] whileFalse: >> [flipCount:= numbers indexOf: ((SelectionMenu selections: numbers) >> startUpWithCaption: 'Revert up to which number?') . >> 1 to: flipCount//2 do: [ :n | numbers swap: n with: flipCount-n+1 ]. >> steps := steps + 1]. >> PopUpMenu inform: 'You needed ', steps asString,' steps.' >> >> Don't know, why it did not show up, Paul sent me a mail that he liked >> squeak and wanted to add it...so I added him here on the bcc. >> >> Anyone tried the Etoys-Version? Someone told me that it was not >> working for him, but I did not investigate... >> >> http://www.squeakland.org/project.jsp?http://www.emergent.de/pub/ >> smalltalk/squeak/projects/reverse.pr >> >> Cheers, >> >> Markus >> >> p.s. The following Python script does not work for me under OS-X. >> Maybe sorted() and reversed() need some library here? >> >> import random >> >> numbers = random.sample(range(1,10), 9) >> steps = 0 >> >> while numbers != sorted(numbers): >> print " ".join(map(str, numbers)) >> flipcount = int(raw_input("Reverse how many? ")) >> numbers[:flipcount] = reversed(numbers[:flipcount]) >> steps += 1 >> >> print "Done! That took you %d steps." % steps >> >> >> >> >> > > |
Here is the algorithm that find the shortest solution. It may be written
in less lines I think but it works (you have to wait a bit to get the answer). The solution printed is the numbers you have to click on to solve the problem. | state queue visited | state _ #(4 1 9 8 6 7 5 2 3). queue _ OrderedCollection with: (state -> OrderedCollection new). visited _ Set new. [queue first key isSorted] whileFalse: [state _ queue removeFirst. (visited includes: state key) ifFalse: [ visited add: state key. 2 to: state key size do: [:index | |numbers| numbers _ state key copy. 1 to: index//2 do: [:i | numbers swap: i with: index-i+1]. queue addLast: (numbers -> ((OrderedCollection withAll: state value) add: (state key at: index); yourself)). ]]]. queue first value |
In reply to this post by Chris Muller
Hello Chris,
CM> Hi Herbert, I wish I would have had a chance to help, that's what I'm thank you for the offer. Actually I just wanted to tell the original poster that I can give no help in using maui. I know you are willing to help and no hidden meaning was intended. Just a bit thoughtless. I wrote a new object (neural network) and needed a user interface. I remembered maui and tried only long enough to find out, that I write a UI for myself. When I'm impatient and have an alternative, asking here well make someone try to help, only to get informed, that I already solved it a different way. If I remember correctly, somewhere there is an example about "a file manager in 5 minutes" and in the example before that one of the steps failed in a 3.8 image. I'll check it out and post a report, latest this weekend. In general I find the idea of maui great. I think it could be a productivity factor in developing software. Cheers, Herbert mailto:[hidden email] Hello Chris, CM> Hi Herbert, I wish I would have had a chance to help, that's what I'm thank you for the offer. Actually I just wanted to tell the original poster that I can give no help in using maui. I know you are willing to help and no hidden meaning was intended. Just a bit thoughtless. I wrote a new object (neural network) and needed a user interface. I remembered maui and tried only long enough to find out, that I write a UI for myself. When I'm impatient and have an alternative, asking here well make someone try to help, only to get informed, that I already solved it a different way. If I remember correctly, somewhere there is an example about "a file manager in 5 minutes" and in the example before that one of the steps failed in a 3.8 image. I'll check it out and post a report, latest this weekend. In general I find the idea of maui great. I think it could be a productivity factor in developing software. Cheers, Herbert mailto:[hidden email] |
Free forum by Nabble | Edit this page |