Philippe Marschall | 1 Jul 13:45
Picon

Re: Squeak to/from UTF-8 conversions

What's the status of these patches? Seaside shows a measurable speed
drop when doing utf-8 encoding/decoding so we'd be more than willing
to test them. We don't care about the stripping of language tags, we
are fine with the unification aspect of unicode.

Cheers
Philippe

2007/6/26, Andreas Raab <andreas.raab <at> gmx.de>:
> Hi -
>
> I was working on a little improvement in UTF-8 conversion speed (so far
> it's about 150x faster for latin-1 text ;-) and for measuring the
> improvements was running a test that said:
>
> strings := String allSubInstances.
> 1 to: strings size do:[:i|
>         original := strings at: i.
>         utf8 := original squeakToUtf8.
>         copy := utf8 utf8ToSqueak.
>         original = copy ifFalse:[self error: 'Encoding problem'].
> ].
>
> When I ran this test it failed on each and every WideString instance.
> Digging into it, it seems that all of the WideStrings in Squeak have a
> language tag that is being supplied implicitly by the current
> LanguageEnvironment.
>
> Questions:
> 1) From what it looks like right now there is no way to preserve that
(Continue reading)

Damien Cassou | 1 Jul 16:36
Picon
Gravatar

Possible bug in PluggableListMorphByItemPlus>>getCurrentSelectionIndex

Hi,

I have a problem with ToolBuilder and lists.

The method PluggableListMorphByItemPlus>>getCurrentSelectionIndex is
implemented as:

getCurrentSelectionIndex
  "Answer the index of the current selection."
  | item |
  getIndexSelector == nil ifTrue: [^ 0].
  item := model perform: getIndexSelector.
  ^ list findFirst: [ :x | x = item]

However, list is a list of strings. Wouldn't it make more sense to
enumerate the list of models which can be accessed through itemList
instead of list?

--

-- 
Damien Cassou

stephane ducasse | 1 Jul 21:25
Picon
Favicon

Re: SmalltalkImage current

>> I don't wish image go blow . And I think masters time is important  
>> to waste
>> remembering only a particular Squeak is different.
>
> I think it is always worth to also look at other Smalltalk
> implementations. No Smalltalk that I know of puts all its image
> related functionality into Smalltalk the root namespace. They all have
> something like ObjectMemory, ObjectMachine, etc.

Indeed.... but they should be all fools :)

Stef

PS: I'm not happy with SmalltalkImage (may be with Smalltalk pointing  
to it, yes).
But indeed you are right. Other people faced this problem and they  
found an OO solution
to the problem. 

stephane ducasse | 1 Jul 21:32
Picon
Favicon

Re: SmalltalkImage current

Hi

This is not about tragedy but about energy and beauty. We have always  
been influenced by the vision
of dan than Smalltalk would be so nice and simple than a single guy  
could understand it and more important
to learn from it. Now it was related to the notion that it is better  
to learn from clean code than hacks.

Now if at the end of the day you spent a lot of energy just arguing  
with people then after a while
may be you should to do something else of your evenings.

I think that SmalltalkImage is not the best move we did but as lukas  
remarked other Smalltalk
have similar solutions. Now as I said I think that the architecture  
of Squeak is too old to support
solutions that would nicely support security concerns (separate  
namespace for global.... - I'm not talking
about namespace at the language level just at the infrastructure  
level). So for us cleaning SystemDictionary
was justified if we consider it as a namespace. if you take 3.4 you  
see it more like a aggregate of behavior
and a not so cosy one.

So I'm really questioning myself to know what to do in the future.

Stef

> I don't think that's such a horrible or tragic outcome. Squeak  
(Continue reading)

Chris Muller | 2 Jul 03:33
Picon

Re: The land of the Mice, a bedtime story

My dream is for a tiny Spoon image to be the starting basis for
anywhere anyone wants to go.  Everyone gets to be their own dictator,
and yet the community is held together by publishable / published
modules (configurations) that allow rich-content images to be built
with one-click.  Today these images (Dev, Croquet, Squeakland, et al)
are pre-built.  Tomorrow (I hope) they will be defined as one-click
loadable (Naiad?) modules loadable into the 10K starting image.

When someone needs two modules to work together that aren't already
working together, they make it happen (by factoring) and then publish
it so that others can benefit.  Thus the harvesting burden becomes
distributed throughout the community.

I think a management piece would be needed to keep track of the
resulting module explosion.  More importantly, we need a VM that
integrates Spoon with other fine projects produced by the community,
like Exupery and others..

On 6/29/07, goran <at> krampe.se <goran <at> krampe.se> wrote:
> Let me tell you a story...
>
> I was around... when King Dan ruled the Land of the Mice, his court the
> "SqC" was strong and the stream was flowing smoothly. It was a glorious
> and joyous time and I were there to see sir PWS, sir Comanche and
> princess Swiki being born as children of Socket. The wizard Morphic was
> still young and agile at that time...
>
> Things were well, but not everyone were happy in the Land of the Mice -
> the population grew quickly and only the fortunate ones to enter the
> castle Image could have their fields fully prosper and not wither and
(Continue reading)

Jerome Peace | 2 Jul 04:46
Picon
Favicon
Gravatar

3dot11?

Hi all,

It is now July.

While 3dot10 has not yet wrapped it is definitely in
beta. So it is time to ask where and how is the 3dot11
team being assembled?

Yours in curiosity and service, --Jerome Peace

       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 

sig | 2 Jul 08:15
Picon

Re: Agreement and Cert. of completion

oops.. wrong mail :))))

subbukk | 2 Jul 09:22
Picon

Re: The land of the Mice, a bedtime story

On Monday 02 July 2007 7:03 am, Chris Muller wrote:
> My dream is for a tiny Spoon image to be the starting basis for
> anywhere anyone wants to go.  Everyone gets to be their own dictator,
> and yet the community is held together by publishable / published
> modules (configurations) that allow rich-content images to be built
> with one-click.  Today these images (Dev, Croquet, Squeakland, et al)
> are pre-built.  Tomorrow (I hope) they will be defined as one-click
> loadable (Naiad?) modules loadable into the 10K starting image.
I see Squeak being pulled apart by two (often opposing) forces.

As a learning medium, Squeak needs to be simple enough for children to use it 
as a dynamic multimedia book for self learning. It would complement textbook 
and notebooks (and may even replace them over time). It could be used 
standalone, in a mesh network or connected to Internet. It needs to be small 
(SVG, virtual fonts?), multilingual (Unicode, UTF-8, indic, arabic support 
etc) and have content (e.g. Projects and Active Essays) usable by young 
learners.  Like TeX, it needs to be usable at all times and approach 
stability asymptotically. It is not aimed at a 'market' in the sense that its 
success cannot be measured in terms of profitability. Squeakland is pulling 
it this way.

As a programmer's workbench, Squeak needs more VM modules and application 
frameworks. It needs better tools for browsing, coding, debugging and 
tracing. Stability takes a backseat to features. It would be pretty useless 
without network access to updates and packages. Multilingual is nice but not 
a show stopper. It is used to assemble products aimed at specific markets 
(Plopp, Sophie). Profitability is important. Squeak-dev is pulling it this 
way.

I don't see  1) being a proper subset of 2). The communities are very 
(Continue reading)

sig | 2 Jul 10:13
Picon

Re: The land of the Mice, a bedtime story

> I don't see  1) being a proper subset of 2). The communities are very
> different and the Land needs more than one castle :-).
>
> Regards .. Subbu
>
>
to what i see, this land needs:
- good newspaper
- marketplace
- library
- college and scools
- roads with directions

S.J.Chun | 2 Jul 10:27
Favicon

[OT, Q] Architecture for Message Broadcasting

Hi,

I'm trying to create network service which is for message broadcasting.
For example, one user - authorized - sends messages to server, then all
connected - TCP will be used - clients/users are receiving the message.
I'm currently thinking of create a simple TCP server which receives
message - message will be single line - then iterate over connected
sockets to send message to them.

Is this approach correct? I mean are there any more efficient approach/
architecture for this? I think IRC kind of thing will help but I cannot
find some understandable document on this kind of service.

Thanks in advance.


Gmane