Kenneth Pullen | 8 Jun 2013 06:29
Picon
Gravatar

What is up with the tests?

I just recently installed Aida 6.5 Interim from Smalltalkhub, and I
noticed that a bunch of the tests appear to be commented out,
specifically all the tests in WebApplicationTest. Why are the contents
of these messages commented out?

<3 Ken
ching.dls | 25 May 2013 11:45
Picon

ching.dls <at> gmail.com wants to follow you. View profile?

Click here to discover ching.dls <at> gmail.com's favorite websites!
ching.dls <at> gmail.com wants to follow you

Is ching.dls <at> gmail.com your friend?

Yes No

Following ching.dls <at> gmail.com helps you discover great websites they recommend :)

Click here to unsubscribe from such emails from ching.dls <at> gmail.com or all friends



P.O BOX 70928, Sunnyvale, CA, 94086
<div>
        <table cellspacing="0" cellpadding="10" width="100%" border="0"><tr><td bgcolor="#ffffff">
            <a href="http://invites.flipmailer.com/signup_e.html?fullname=&amp;email=aida <at> aidaweb.si&amp;invitername=Ching&amp;inviterid=16564978&amp;userid=0&amp;token=0&amp;emailmasterid=15019e5b-fa9d-421f-a1b1-6de0f3602e35&amp;from=ching.dls <at> gmail.com&amp;uie=2&amp;src=clickhere" target="_blank"> Click here to discover ching.dls <at> gmail.com's favorite websites!</a>
        </td></tr></table>
            <table cellspacing="0" cellpadding="0" width="600" border="0">
<tr>
<td width="10"></td>
                    <td width="580" bgcolor="#0071BC">
<a href="javascript:void(0)">ching.dls <at> gmail.com</a> wants to follow you</td>
                    <td width="10"></td>
</tr>
<tr><td colspan="3" bgcolor="#ffffff">
                        <h1 class="font-size: 2em; ">Is <a href="#">ching.dls <at> gmail.com</a> your friend?</h1>
                    </td></tr>
<tr><td colspan="3" bgcolor="#ffffff">
                        <a href="http://invites.flipmailer.com/signup_e.html?fullname=&amp;email=aida <at> aidaweb.si&amp;invitername=Ching&amp;inviterid=16564978&amp;userid=0&amp;token=0&amp;emailmasterid=15019e5b-fa9d-421f-a1b1-6de0f3602e35&amp;from=ching.dls <at> gmail.com&amp;uie=2&amp;src=yes" class="btn">Yes</a>
                        <a class="btn" href="http://invites.flipmailer.com/signup_e_no.html?fullname=&amp;email=aida <at> aidaweb.si&amp;invitername=Ching&amp;inviterid=16564978&amp;userid=0&amp;token=0&amp;emailmasterid=15019e5b-fa9d-421f-a1b1-6de0f3602e35&amp;from=ching.dls <at> gmail.com&amp;uie=2&amp;src=no">No</a>

                        <p align="center">
                        Following <a href="#">ching.dls <at> gmail.com</a> helps you discover great websites they recommend :)
                        </p>
                    </td></tr>
<tr>
<td width="10"></td>
                        <td width="580" bgcolor="#e6e6e6">
                            <a href="http://invites.flipmailer.com/uns_inviter.jsp?fullname=&amp;email=aida <at> aidaweb.si&amp;invitername=Ching&amp;inviterid=16564978&amp;userid=0&amp;token=0&amp;emailmasterid=15019e5b-fa9d-421f-a1b1-6de0f3602e35&amp;from=ching.dls <at> gmail.com&amp;uie=2" target="_blank">Click here to unsubscribe from such emails from ching.dls <at> gmail.com or all friends</a><br><br><br><br> P.O BOX 70928, Sunnyvale, CA, 94086
                        </td>
                        <td width="10"></td>
</tr>
</table>

    </div>
Janko Mivšek | 26 Mar 2013 15:49
Picon
Gravatar

GSoC idea: Spec over Aida component model

Guys, would be this an interesting project to advance Smalltalk UI more
toward bleeding edge again, after 30 years, when we were there already
with MVC based GUI? Spec project have a potential here and Spec over web
frameworks to build fully desktop-capable web apps seems to be
achievable. Spec over Amber (who will propose that?), Spec over Aida,
Spec over Seaside? Benjamin, would you be a co-mentor of that project?

  Title: Spec over Aida for desktop-capable Web Apps

  Level: advanced

  Possible mentor: Janko Mivšek

  Possible second mentor: Benjamin?

  Description

Spec as a means to describe and generate GUI has a potential to help
building web applications as well. And because one of Spec goals is to
become a platform/framework independent, this project has a goal to
extend Aida component model for building Single Page web apps to become
Spec-aware

  Technical Details

Aida has a component model for building so called Single Page web UIs,
capable of composing a hierarchy of so called web widgets, which are
standalone reusable components, together with hierarchical web form
support. Spec as descriptor and generator of UI is therefore a natural
extension of Aida component model. When a HTML5 Web Components standard
will be ready, Aida component model can be easily extended to support
that standard as well, together with Spec (and maybe UIBuilder too?).

  Benefits to the Student

Student will acquire the knowledge and experience of building
desktop-capable UIs on the web using HTML5 approach.

  Benefits to the Community

Spec has a potential to become a de-facto standard way of describing
User Interfaces for Smalltalk projects from desktop to web and mobile,
on a dialect and web framework neutral way. This project can contribute
a piece toward that goal.

Best regards
Janko

--

-- 
Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Janko Mivšek | 9 Mar 2013 13:38
Picon
Gravatar

GSoC13: Google Summer of Code started, your ideas please!

Dear Smalltalkers,

Time for your cool project ideas on this year Smalltalk GSoC!

For now just express any idea you have here on the mailing list. Later
we will together develop it to be in complete format together with two
mentors needed. Deadline is end of Mart, so we have three weeks of time.
To see how fully developed ideas look like please look at 2012 ones at:
http://gsoc2012.esug.org/ideas.

Note also that students yourselves can propose a GSoC project. So if you
like to be a student on this year GSoC and have a nice idea, don't be
shy and propose it here! The community will listen you and guide to the
really nicely proposed project. Last year 6 student proposed projects
were accepted and finished successfully!

For the community, start looking around for students. Think about how to
approach the universities near by you, do you know who to contact
there, etc.

We are namely preparing an application to this year Smalltalk Google
Summer of Code under ESUG umbrella, as last year. If accepted, Google
will pay few stipendiums to students on our Smalltalk projects.

More on our special Smalltalk GSoC 2013 website:

	http://gsoc2013.esug.org

I'm specially inviting mentors of all past GSoCs to rejoin the mentors
mailing list, where we discuss all details about this year GSoC:

	http://groups.google.com/group/smalltalk-gsoc-mentors

While students interested on GSoC please join a special Smalltalk GSoC
mailing list for you:

	http://groups.google.com/group/smalltalk-gsoc-students

Best regards
Janko

--

-- 
Janko Mivšek
Smalltalk GSoC Admin Team
http://gsoc2013.esug.org
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Pablo R. Digonzelli | 24 Feb 2013 23:00

desktop application

Hi all, i have a request to develop a mid size to small size an agricultural software.
It will be using in the desktop but i am considering develop with aida + persistence layer.
I am thinking at aida / pharo aida / cuis.

May be someone can comment similar experiences to me .

Sorry for my english.

TIA

Ing. Pablo Digonzelli
Sofware Solutions
IP Soluciones SRL

25 de Mayo 521. Entrepiso A
email: pdigonzelli <at> softsargentina.com
email: pdigonzelli <at> gmail.com
twitter: <at> pdigonzelli
Tel: 0381 4227378
Cel: 0381 155982714

<div><div>
<div>Hi all, i have a request to develop a mid size to small size an agricultural software. <br>
</div>
<div>It will be using in the desktop but i am considering develop with aida + persistence layer.<br>
</div>
<div>I am thinking at aida / pharo aida / cuis. <br>
</div>
<div><br></div>
<div>May be someone can comment similar experiences to me .<br>
</div>
<div><br></div>
<div>Sorry for my english.<br>
</div>
<div><br></div>
<div>TIA<br>
</div>
<div><br></div>
<div>
<span name="x"></span><div>
<span data-mce-style="font-size: medium;"><span data-mce-style="font-family: georgia,serif; color: #000000;">Ing. Pablo Digonzelli</span></span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">Sofware Solutions</span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">IP Soluciones SRL</span><br>
</div>
<div><br></div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">25 de Mayo 521. Entrepiso A</span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">email: pdigonzelli <at> softsargentina.com</span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">email: pdigonzelli <at> gmail.com</span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">twitter:  <at> pdigonzelli</span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">Tel: 0381 4227378</span><br>
</div>
<div>
<span data-mce-style="font-family: tahoma,new york,times,serif; font-size: small;">Cel: 0381 155982714</span><br>
</div>
<span name="x"></span><br>
</div>
</div></div>
Janko Mivšek | 5 Feb 2013 18:20
Picon
Gravatar

HTTP optimizations: streaming everything, gzip compression

Dear Aiders,

While watching an excellent presentation by Ilya Grigorik from Google
Web Fast Team:

	Faster Websites, Crash Course on Frontent Performance
	part1: http://parleys.com/#st=5&id=3648&sl=0
	part2: http://parleys.com/#st=5&id=3649&sl=1

I come to idea to implement few optimizations Ilya mentioned in his talk:

1. web page is now streamed to the browser to start sending as soon as
   possible so that browser can start fetching CSS and JS files listed
   in page header in parallel. Until now a whole page was first
   rendered before start sending.
2. gzip compression of page HTML and all other text resources like CSS
   and JavaScript. This reduces the load time substantially, usually
   about 5 times.

End result is more than twice faster page load time, both time until
page starts rendering on browser and overall load time. We are now below
250ms to the first byte time, which is nowadays a goal to regard your
site as a fast one. Note that this includes a DNS lookup time
(50-150ms), connection time (50-100ms) then content download.

Another achievements are 4 A on http://www.webpagetest.org:

	A First Byte Time
	A Keep-alive Enabled
	A Compress Transfer
	A Compress Images
	F Cache static
	X Content Delivery Network detected

This F cache static is such because we instruct browsers to cache images
only 24 hours. For a reason to more easy upgrade web apps without
needing instruct the users to reload pages. They just wait one day...

X Content Delivery Network, well, I'm not sure we would profit much to
use it except add another level of complexity ...

Google regards such optimizations in this pageRank algorithm, which is
one of the reasons to be worthwhile.

All those optimizations will be part of next Aida (and Swazoo) release,
it will also be soon on production server for http://www.aidaweb.si, so
that you can try by yourself :)

Best regards
Janko

--

-- 
Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Germán Arduino | 29 Jan 2013 16:01
Picon
Gravatar

[ANN] AidaWeb is available to use in Cuis Smalltalk

Hi Folks,

It's a pleasure inform that AidaWeb is available to use in Cuis
Smalltalk in the repo: https://github.com/garduino/Cuis-Aida

Thanks to the job of Janko to make the port to make it work in Cuis!

You can install it on a Cuis image using the script of the README (be
patient, the installation take time) or you can download a ready
to use Cog image from the link provided in the same README.

Enjoy!

Coming Soon: A Morphic operator console for easier manage of Swazoo sites.

Juan: You should update the ListOfPackages, as usual :)

--

-- 
Sincerely,
Germán Arduino
about.me/garduino
Germán Arduino | 29 Jan 2013 13:08
Picon
Gravatar

Fwd: [Cuis] AidaWeb first early filen in Cuis a bit delayed

Damn, again I forgot to reply all, sorry :(

---------- Forwarded message ----------
From: Germán Arduino <garduino <at> gmail.com>
Date: 2013/1/29
Subject: Re: [Cuis] [aida] AidaWeb first early filen in Cuis a bit delayed
To: Discussion of Cuis Smalltalk <cuis <at> jvuletich.org>

Hi Janko:

Excellent news!

2013/1/29 Janko Mivšek <janko.mivsek <at> eranova.si>:
> Hi guys,
>
> Aida is now ported and works on Cuis! Germán I'm sending you the image
> back privately.
>

Yes, I received it! And seems to work (I would like to know the
details about how some issues were solved).

> BTW, which version of Aida is this? It seems it is not 6.5-interim?

Yes, I did the initial filein from Aida6.5-interim.2 from the repo
http://www.smalltalkhub.com/#!/~Aida/Aida/versions/Aida6.5-interim.2

> Can
> you port now the changes to this latest interim release? Well, this
> practice will be needed to maintain Aida anyway :)
>

Yes, we should agree a way to stay communicated to add the changes and
new feature that will come to Aida. I can help, but will need a bit of
help (guidance) depending on the changes.

> Best regards
> Janko

Regards.
Germán.

--

-- 
Sincerely,
Germán Arduino
about.me/garduino
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Germán Arduino | 24 Jan 2013 12:21
Picon
Gravatar

Re: [Cuis] [ANN] A first port to Cuis of Sport and Swazoo

HI Hannes:

2013/1/24 H. Hirzel <hannes.hirzel <at> gmail.com>:
> On 1/22/13, Germán Arduino <garduino <at> gmail.com> wrote:
>> Thanks for the comments Hannes / Juan:
>>
>> I will look into it when have time, or if you prefer Hannes and want
>> to help I will integrate it when finish with Aida.
>>
>> Germán.
>>
>
> Hello Germán
>
> I did an installation test of https://github.com/garduino/Cuis-Swazoo
>
>  I followed the instructions in my fork of your work. I had updated
> the README.md
>
>  https://github.com/hhzl/Cuis-Swazoo
>
> The file in gave the Transcript error messages copied in below.
>
> Then I run all the tests which start with 'Swazoo'
>
> 57 of 57 pass
>
> Is this the full number?
>

No, the full number is 143 and the detail is in the attached pdf
(exported from a Google spreadsheet that I normally use to work in
ports).

> From http://www.swazoo.org/documentation.html
> I take the following test snippet
>
> "Here is the simplest recipe possible to make your Swazoo site
> running. "Doit" from a workspace:"
>
>     |site|
>     site := Site new name: 'test'. "name is just for convinience"
>     site host: 'localhost' ip: '127.0.0.1' port: 8888.
>     SwazooServer singleton addSite: site.
>     site start.
>
> RESULT: Class #Site is not known, FAILURE
>

Currently you should use SwazooSite instead Site.

(I'm not trying in an image now, only responding of memory)

For easier handling of the sites I developed (in the past) a sort of
console in differente variations (for Aida, Iliad (screenshot
attached)), I think that I should revamp now for Cuis and add the code
to Swazoo, what do you think?

>
> BTW 'convinience' should be 'convenience'
>

Sorry, but I do not have access to the swazoo site.

>
> Could you please include an updated version of the simple example on
> http://www.swazoo.org/documentation.html in your README.md
>
> https://github.com/garduino/Cuis-Swazoo
>
>

Annotated on my to-do list.

>
>
> Thank you for your work on porting a web server to Cuis.
>

Thank you for the encouragement!

> Kind regards
> Hannes
>
HI Hannes:

2013/1/24 H. Hirzel <hannes.hirzel <at> gmail.com>:
> On 1/22/13, Germán Arduino <garduino <at> gmail.com> wrote:
>> Thanks for the comments Hannes / Juan:
>>
>> I will look into it when have time, or if you prefer Hannes and want
>> to help I will integrate it when finish with Aida.
>>
>> Germán.
>>
>
> Hello Germán
>
> I did an installation test of https://github.com/garduino/Cuis-Swazoo
>
>  I followed the instructions in my fork of your work. I had updated
> the README.md
>
>  https://github.com/hhzl/Cuis-Swazoo
>
> The file in gave the Transcript error messages copied in below.
>
> Then I run all the tests which start with 'Swazoo'
>
> 57 of 57 pass
>
> Is this the full number?
>

No, the full number is 143 and the detail is in the attached pdf
(exported from a Google spreadsheet that I normally use to work in
ports).

> From http://www.swazoo.org/documentation.html
> I take the following test snippet
>
> "Here is the simplest recipe possible to make your Swazoo site
> running. "Doit" from a workspace:"
>
>     |site|
>     site := Site new name: 'test'. "name is just for convinience"
>     site host: 'localhost' ip: '127.0.0.1' port: 8888.
>     SwazooServer singleton addSite: site.
>     site start.
>
> RESULT: Class #Site is not known, FAILURE
>

Currently you should use SwazooSite instead Site.

(I'm not trying in an image now, only responding of memory)

For easier handling of the sites I developed (in the past) a sort of
console in differente variations (for Aida, Iliad (screenshot
attached)), I think that I should revamp now for Cuis and add the code
to Swazoo, what do you think?

>
> BTW 'convinience' should be 'convenience'
>

Sorry, but I do not have access to the swazoo site.

>
> Could you please include an updated version of the simple example on
> http://www.swazoo.org/documentation.html in your README.md
>
> https://github.com/garduino/Cuis-Swazoo
>
>

Annotated on my to-do list.

>
>
> Thank you for your work on porting a web server to Cuis.
>

Thank you for the encouragement!

> Kind regards
> Hannes
>
H. Hirzel | 24 Jan 2013 07:43
Picon

Re: [Cuis] [ANN] A first port to Cuis of Sport and Swazoo

On 1/22/13, Germán Arduino <garduino <at> gmail.com> wrote:
> Thanks for the comments Hannes / Juan:
>
> I will look into it when have time, or if you prefer Hannes and want
> to help I will integrate it when finish with Aida.
>
> Germán.
>

Hello Germán

I did an installation test of https://github.com/garduino/Cuis-Swazoo

 I followed the instructions in my fork of your work. I had updated
the README.md

 https://github.com/hhzl/Cuis-Swazoo

The file in gave the Transcript error messages copied in below.

Then I run all the tests which start with 'Swazoo'

57 of 57 pass

Is this the full number?

From http://www.swazoo.org/documentation.html
I take the following test snippet

"Here is the simplest recipe possible to make your Swazoo site
running. "Doit" from a workspace:"

    |site|
    site := Site new name: 'test'. "name is just for convinience"
    site host: 'localhost' ip: '127.0.0.1' port: 8888.
    SwazooServer singleton addSite: site.
    site start.

RESULT: Class #Site is not known, FAILURE

BTW 'convinience' should be 'convenience'

Could you please include an updated version of the simple example on
http://www.swazoo.org/documentation.html in your README.md

https://github.com/garduino/Cuis-Swazoo

Thank you for your work on porting a web server to Cuis.

Kind regards
Hannes

....
----SNAPSHOT----#(21 January 2013 10:50:35 pm) Cuis4.1-1572.image
priorSource: 2904356
Installed ChangeSet:
1573-ReloadStandardFileMenu-JuanVuletich-2013Jan21-22h58m-jmv.1.cs.st
Installed ChangeSet:
1574-utf8ConversionEnh-HannesHirzel-2013Jan22-15h09m-hjh.1.cs.st
Installed ChangeSet:
1575-AddHannesAsKnownAuthor-JuanVuletich-2013Jan22-15h10m-jmv.1.cs.st
Installed ChangeSet:
1576-MorphDragAndDropDoc-JuanVuletich-2013Jan22-15h11m-jmv.1.cs.st

----SNAPSHOT----#(23 January 2013 12:06:20 am) Cuis4.1-1576.image
priorSource: 2952114
=============

Package Cuis-System-Hashing successfully installed
=============

ScaledDecimal class>>readFrom: (SqNumberParser is Undeclared)
Package Cuis-CompatibilityWithOtherSmalltalks successfully installed
Undeclared: a Dictionary(#SqNumberParser->nil )
=============

HTTPSocket class>>httpGetDocument:args:accept:request: (Url is Undeclared)
HTTPSocketSqueak class>>fetchExternalSettingsIn: (ExternalSettings is
Undeclared)
HTTPSocketSqueak class>>httpGetDocument:args:accept:request: (Url is
Undeclared)
HTTPSocketSqueak class>>httpGif: (GIFReadWriter is Undeclared)
HTTPSocketSqueak class>>httpJpeg: (JPEGReadWriter is Undeclared)
HTTPSocketSqueak class>>httpPost:content:type:accept:request: (Url is
Undeclared)
HTTPSocketSqueak class>>httpPut:to:user:passwd: (Url is Undeclared)
HTTPSocketSqueak class>>httpRequest:url:headers:content:response:
(MIMEDocument is Undeclared)
HTTPSocketSqueak class>>httpShowChunk: (StringHolder is Undeclared)
HTTPSocketSqueak class>>httpShowPage: (StringHolder is Undeclared)
HTTPSocketSqueak class>>initialize (ExternalSettings is Undeclared)
HTTPSocketSqueak class>>showImage:named: (Project is Undeclared)
SMTPClient>>mailFrom: (MailAddressParser is Undeclared)
MessageNotUnderstood: UndefinedObject>>registerClient:
while evaluating: HTTPSocketSqueak initialize
MessageNotUnderstood: Preferences class>>valueOfPreference:
while evaluating: HTTPSocketSqueak initialize
MessageNotUnderstood: Preferences class>>valueOfPreference:
while evaluating: HTTPSocketSqueak initialize
MessageNotUnderstood: Preferences class>>valueOfPreference:
while evaluating: HTTPSocketSqueak initialize
MessageNotUnderstood: Preferences class>>valueOfPreference:
while evaluating: HTTPSocketSqueak initialize

Package Cuis-Network-Protocols successfully installed
Undeclared: a Dictionary(#ExternalSettings->nil #GIFReadWriter->nil
#JPEGReadWriter->nil #MIMEDocument->nil #MailAddressParser->nil
#Project->nil #SqNumberParser->nil #StringHolder->nil #Url->nil )
=============

FileUrl>>retrieveContents (MIMEDocument is Undeclared)
FileUrl>>retrieveContents (MIMELocalFileDocument is Undeclared)
FileUrl>>retrieveContents (MIMEDocument is Undeclared)
FtpUrl>>retrieveContents(password is shadowed)
FtpUrl>>retrieveContents (ServerDirectory is Undeclared)
FtpUrl>>retrieveContents (ServerDirectory is Undeclared)
FtpUrl>>retrieveContents (MIMEDocument is Undeclared)
FtpUrl>>retrieveContents (MIMEDocument is Undeclared)
FtpUrl>>retrieveContents (MIMEDocument is Undeclared)
HttpUrl>>normalizeContents: (MIMEDocument is Undeclared)
HttpUrl>>normalizeContents: (MIMEDocument is Undeclared)
HttpUrl>>normalizeContents: (MIMEDocument is Undeclared)
HttpUrl>>normalizeContents: (MIMEDocument is Undeclared)
MailtoUrl>>activate (MailSender is Undeclared)
MailtoUrl>>activate (MailMessage is Undeclared)
MailtoUrl>>composeText (MailSender is Undeclared)
Package Cuis-Network-Url successfully installed
Undeclared: a Dictionary(#ExternalSettings->nil #GIFReadWriter->nil
#JPEGReadWriter->nil #MIMEDocument->nil #MIMELocalFileDocument->nil
#MailAddressParser->nil #MailMessage->nil #MailSender->nil
#Project->nil #ServerDirectory->nil #SqNumberParser->nil
#StringHolder->nil )
=============

SpFilename>>underlyingFilename (underlyingFilename is Undeclared)
Package Sport successfully installed
Undeclared: a Dictionary(#ExternalSettings->nil #GIFReadWriter->nil
#JPEGReadWriter->nil #MIMEDocument->nil #MIMELocalFileDocument->nil
#MailAddressParser->nil #MailMessage->nil #MailSender->nil
#Project->nil #ServerDirectory->nil #SqNumberParser->nil
#StringHolder->nil #underlyingFilename->nil )
=============

SwazooMD5Digest class>>hash: (Security is Undeclared)
Package Swazoo successfully installed
Undeclared: a Dictionary(#ExternalSettings->nil #GIFReadWriter->nil
#JPEGReadWriter->nil #MIMEDocument->nil #MIMELocalFileDocument->nil
#MailAddressParser->nil #MailMessage->nil #MailSender->nil
#Project->nil #Security->nil #ServerDirectory->nil
#SqNumberParser->nil #StringHolder->nil #underlyingFilename->nil )
_______________________________________________
Aida mailing list
Aida <at> aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Germán Arduino | 22 Jan 2013 12:17
Picon
Gravatar

Re: [Cuis] [ANN] A first port to Cuis of Sport and Swazoo

Sorry, I forgot to make Reply All

2013/1/22 Germán Arduino <garduino <at> gmail.com>:
> Thanks for the comments Hannes / Juan:
>
> I will look into it when have time, or if you prefer Hannes and want
> to help I will integrate it when finish with Aida.
>
> Germán.
>
>
>
> 2013/1/21 Juan Vuletich <juan <at> jvuletich.org>:
>> Hi Germán,
>>
>> Cool! Just a remark: Cuis does include conversion to/from utf-8 for the
>> charset it supports (ISO-8859-15, covering nearly all the latin alphabets).
>>
>> Cheers,
>> Juan Vuletich
>>
>> Germán Arduino wrote:
>>>
>>> Hi:
>>>
>>> The first versions of Sport and Swazoo working in Cuis 4.1 with all
>>> tests green are ready to install.
>>>
>>> The changes I did in Swazoo are:
>>>
>>>
>>> - Avoid Unicode support that don't exist in Cuis
>>>
>>>
>>> WebSocketConnection:
>>>
>>> fromUtf8: aString
>>> "Squeak specific"
>>>
>>> "gsa 14/01/2013 for Cuis port"
>>> "^[aString convertFromEncoding: #utf8] on: Error do: [:ex | aString ]
>>> ^ aString
>>>
>>>
>>> toUtf8: aString
>>> "Squeak specific"
>>> "
>>> | converter in out |
>>> converter := UTF8TextConverter new.
>>> in := aString readStream.
>>> out := WriteStream on: ''.
>>> [in atEnd] whileFalse:
>>> [converter nextPut: in next toStream: out].
>>> ^out contents
>>> "
>>> ^ aString.
>>>
>>>
>>> SwazooBuffer >>closeChunkTo: aSocket
>>>
>>>         " gsa 18/01/2013 used String instead ByteString for Cuis"
>>>         "chunk := ByteString new: 5."
>>>
>>>
>>> - Avoid #fork and #forkAt: calling #newProcess instead:
>>>
>>> HTTPServer >>start
>>>
>>> start
>>>         | swazooProcess |
>>>         self loop isNil ifTrue: [
>>>                 self socket:
>>>                         (SwazooSocket
>>>                                 serverOnIP: self ipCorrected
>>>                                 port: self port).
>>>                 self socket listenFor: 128.
>>>                 self loop: (swazooProcess _ [ [ self acceptConnection ]
>>> repeat ] newProcess).
>>>                 swazooProcess name: 'Swazoo ' , DateAndTime now asString.
>>>                 swazooProcess priority: Processor userBackgroundPriority.
>>>                 swazooProcess resume ].
>>>
>>> instead of the original code:
>>>
>>> start
>>>         self loop isNil ifTrue: [
>>>                 self socket:
>>>                         (SwazooSocket
>>>                                 serverOnIP: self ipCorrected
>>>                                 port: self port).
>>>                 self socket listenFor: 128.
>>>                 self loop: ([ [ self acceptConnection ] repeat ] forkAt:
>>> Processor
>>> userBackgroundPriority) ].
>>>
>>>
>>>
>>> HTTPServer >>setUp
>>>
>>> setUp
>>>         | socket swazooProcess |
>>>         (Delay forMilliseconds: 100) wait.
>>>         server _ HTTPServer new.
>>>         swazooProcess _ [
>>>         server
>>>                  ip: 'localhost';
>>>                  port: 8123.
>>>         server start ] newProcess.
>>>         swazooProcess name: 'Swazoo HTTPServer Test'.
>>>         swazooProcess resume.
>>>         (Delay forMilliseconds: 100) wait.
>>>         "       stream := (SocketAccessor newTCPclientToHost: 'localhost'
>>> port: 8123)
>>>                                 readAppendStream"
>>>         socket _ SpSocket
>>>                 connectToServerOnHost: 'localhost'
>>>                 port: 8123.
>>>         stream _ SwazooStream socket: socket.
>>>
>>> instead of the original code:
>>>
>>> setUp
>>>         | socket |
>>>         (Delay forMilliseconds: 100) wait.
>>>         server := HTTPServer new.
>>>         [server ip: 'localhost'; port: 8123.
>>>         server start]
>>>                 fork.
>>>         (Delay forMilliseconds: 100) wait.
>>> "       stream := (SocketAccessor newTCPclientToHost: 'localhost' port:
>>> 8123)
>>>                                 readAppendStream"
>>>         socket := SpSocket connectToServerOnHost:  'localhost' port: 8123.
>>>         stream := SwazooStream socket: socket
>>>
>>>
>>> Other considerations:
>>>
>>> SpFilename >>underlyingFilename (This method do not exist, but do not
>>> exist neither in the original one click aida/pharo image)
>>>
>>> Security class don't exist neither in the pharo one click image.
>>>
>>> #trimSeparators, is named in SwazooMD5 but do not seems implemented.
>>>
>>>
>>>
>>>
>>> To install Sport and Swazoo, follow the next steps:
>>>
>>> 1. Take a new Cuis 4.1 image.
>>>
>>> 2. From GitHub / garduino clone in your computer the repos
>>> Cuis-Cryptography
>>> Cuis-CompatibilityWithOtherSmalltalks
>>> Cuis-Pharo14CompatibilityLayer
>>> Cuis-Sport
>>> Cuis-Swazoo
>>>
>>> 3. In a workspace run the next script:
>>>
>>> | slash repo |
>>> slash _ FileDirectory slash.
>>> repo := '/Users/Shared/YOURCODEREPOSITORYPATH/'.
>>> {
>>> repo, slash, 'Cuis-Cryptography', slash, 'Cuis-System-Hashing.pck.st' .
>>> repo, slash, 'Cuis-CompatibilityWithOtherSmalltalks', slash,
>>> 'Cuis-CompatibilityWithOtherSmalltalks.pck.st' .
>>> repo, slash, 'Cuis-Pharo14CompatibilityLayer', slash,
>>> 'Cuis-Network-Protocols.pck.st' .
>>> repo, slash, 'Cuis-Pharo14CompatibilityLayer', slash,
>>> 'Cuis-Network-Url.pck.st' .
>>> repo, slash, 'Cuis-Sport', slash, 'Sport.pck.st' .
>>> repo, slash, 'Cuis-Swazoo', slash, 'Swazoo.pck.st' .
>>> }
>>> do:
>>> [ :fileName | CodePackageFile installPackageStream:
>>> (FileStream concreteStream readOnlyFileNamed: fileName)
>>> ].
>>>
>>>
>>> 4. You will notice some warnings in the Transcript regarding some
>>> Network-* classes, it is because I'm installing here only the minimum
>>> code that I need for Swazoo and I must still end to polish the delta
>>> between the Network protocol in Cuis vs Pharo/Squeak
>>>
>>> 5. I did also an early port of TimeStamp, not existing in Cuis, and I
>>> have still 1 failing test.
>>>
>>>
>>> But Swazoo seems to work ok, all the test pass and the tests I did in
>>> the workspace seems to work, but as I'm not in expert in Swazoo, I
>>> will be more than happy of receive corrections, suggestion, etc, to
>>> leave the port in a stable state.
>>>
>>>
>>>
>>> --
>>> Sincerely,
>>> Germán Arduino
>>> about.me/garduino
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________
>>> Cuis mailing list
>>> Cuis <at> jvuletich.org
>>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>>>
>>
>>
>>
>> _______________________________________________
>> Cuis mailing list
>> Cuis <at> jvuletich.org
>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
>
>
> --
> Sincerely,
> Germán Arduino
> about.me/garduino

--

-- 
Sincerely,
Germán Arduino
about.me/garduino

Gmane