Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread stepharo



Stef,


Am 30.09.2016 um 08:47 schrieb stepharo :

Hi guys

I wanted to show latest version of Seaside and I took Seaside on CI

and I do not get ZincAdaptor. Seaside looks dying to me sadly.

What should I do ?


seaside is not (!!) dying.






If you do

Metacello new
 configuration: 'Seaside3';
 repository:
'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
 version: '3.2.0';
 load.

you load everything needed.

And it is proposing the correct menu?
And how do I know that this 3.2.0?



  I must confess I'm always confused about that, too. Meaning from where to 
load which configuration. In this regard seaside is a complete mess.

Indeed.

Seems like the catalog does not point to the right version, not good.

After that….You open the World menu->tools->seaside control panel. 
Right-click->add-adaptor und choose ZnZincServerAdaptor. Enter port 8080 (alread 
there) and ok. Point your browser to http://localhost:8080/ et voilà


In my version that I took from latest ci there is not Zn*adaptor

Stef


Norbert






Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread stepharo



Hi.

I use this script to install and start server:

Metacello new
configuration: 'Seaside3';
repository:
'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
version: '3.2.0';
load.

server := ZnZincServerAdaptor startOn: 8080

You probably want to refer to #'release3.2' as the version though
(as that gives you 3.2.1, and will receive bugfixes)

Stephan


Stephan I do not know. I went to the ci and took 3.2 on pharo 50 stable.
After we can hide ourselves againts numbers and process.
Right now the point is what is the public version that a full newbie 
that make work in

less than 2 min.

Stef




Re: [Pharo-users] Glorp

2016-09-30 Thread Benoit St-Jean via Pharo-users
--- Begin Message ---
I typically use MySQL but since I'm into databases a lot, I'll probably play 
with PostgreSQL, DB2, Oracle, SQLite and SQL Server as well...  I guess this 
port of Glorp also allows for an ODBC accessor or it only supports native 
connectors?
If that helps, I'm on Windows 10
 - 
Benoît St-Jean 
Yahoo! Messenger: bstjean 
Twitter: @BenLeChialeux 
Pinterest: benoitstjean 
Instagram: Chef_Benito
IRC: lamneth 
Blogue: endormitoire.wordpress.com 
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)

  From: Renaud de Villemeur 
 To: Benoit St-Jean ; Any question about pharo is welcome 
 
 Sent: Friday, September 30, 2016 9:50 PM
 Subject: Re: [Pharo-users] Glorp
   
Hi.
This documentation should give you the first 
hint:https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.html

It's still a work in progress, but the install part is accurate.  Do you plan 
to use it with Sqlite, or with MySql/postgreSQL
Renaud

2016-09-30 21:23 GMT-04:00 Benoit St-Jean via Pharo-users 
:



-- Message transféré --
From: Benoit St-Jean 
To: "pharo-users@lists.pharo.org" 
Cc: 
Date: Sat, 1 Oct 2016 01:21:57 + (UTC)
Subject: Glorp
Hello Pharoers,
I want to use Glorp and I am puzzled as to what to install.
I have found a few Glorp related package and I really don't know which one to 
use nor which one is current.  Besides, those packages are spread across 
different websites.

So, which one should I use? And from where?
My current Pharo 5.0 images has the following in the Pharo Project Catalog :

Glorp? GlorpDBX? Garage?
On a different note, if anyone's interested, I'd be more than happy to 
test/fix/participate/develop for Glorp.  I have had the chance (ahem!?!?!?) to 
develop with TOPLink (Glorp's ancestor) for quite a while so Glorp is somewhat 
familiar to me.  In that case, where's the current effort/version to develop 
Glorp for Pharo and which Pharo version is the preferred one for 
development/tests ?

tia - 
Benoît St-Jean 
Yahoo! Messenger: bstjean 
Twitter: @BenLeChialeux 
Pinterest: benoitstjean 
Instagram: Chef_Benito
IRC: lamneth 
Blogue: endormitoire.wordpress.com 
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)




   --- End Message ---


Re: [Pharo-users] Glorp

2016-09-30 Thread Renaud de Villemeur
Hi.

This documentation should give you the first hint:
https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.html

It's still a work in progress, but the install part is accurate.  Do you
plan to use it with Sqlite, or with MySql/postgreSQL

Renaud


2016-09-30 21:23 GMT-04:00 Benoit St-Jean via Pharo-users <
pharo-users@lists.pharo.org>:

>
>
> -- Message transféré --
> From: Benoit St-Jean 
> To: "pharo-users@lists.pharo.org" 
> Cc:
> Date: Sat, 1 Oct 2016 01:21:57 + (UTC)
> Subject: Glorp
> Hello Pharoers,
>
> I want to use Glorp and I am puzzled as to what to install.
>
> I have found a few Glorp related package and I really don't know which one
> to use nor which one is current.  Besides, those packages are spread across
> different websites.
>
> So, which one should I use? And from where?
>
> My current Pharo 5.0 images has the following in the Pharo Project
> Catalog :
>
> Glorp? GlorpDBX? Garage?
>
> On a different note, if anyone's interested, I'd be more than happy to
> test/fix/participate/develop for Glorp.  I have had the chance (ahem!?!?!?)
> to develop with TOPLink (Glorp's ancestor) for quite a while so Glorp is
> somewhat familiar to me.  In that case, where's the current effort/version
> to develop Glorp for Pharo and which Pharo version is the preferred one for
> development/tests ?
>
> tia
>
> -
> Benoît St-Jean
> Yahoo! Messenger: bstjean
> Twitter: @BenLeChialeux
> Pinterest: benoitstjean
> Instagram: Chef_Benito
> IRC: lamneth
> Blogue: endormitoire.wordpress.com
> "A standpoint is an intellectual horizon of radius zero".  (A. Einstein)
>
>


[Pharo-users] Glorp

2016-09-30 Thread Benoit St-Jean via Pharo-users
--- Begin Message ---
Hello Pharoers,
I want to use Glorp and I am puzzled as to what to install.
I have found a few Glorp related package and I really don't know which one to 
use nor which one is current.  Besides, those packages are spread across 
different websites.

So, which one should I use? And from where?
My current Pharo 5.0 images has the following in the Pharo Project Catalog :

Glorp? GlorpDBX? Garage?
On a different note, if anyone's interested, I'd be more than happy to 
test/fix/participate/develop for Glorp.  I have had the chance (ahem!?!?!?) to 
develop with TOPLink (Glorp's ancestor) for quite a while so Glorp is somewhat 
familiar to me.  In that case, where's the current effort/version to develop 
Glorp for Pharo and which Pharo version is the preferred one for 
development/tests ?

tia - 
Benoît St-Jean 
Yahoo! Messenger: bstjean 
Twitter: @BenLeChialeux 
Pinterest: benoitstjean 
Instagram: Chef_Benito
IRC: lamneth 
Blogue: endormitoire.wordpress.com 
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)--- End Message ---


Re: [Pharo-users] pillar: how to link to different parts?

2016-09-30 Thread Tudor Girba
Thanks!

Cheers,
Doru


> On Sep 30, 2016, at 8:54 PM, Johan Fabry  wrote:
> 
> 
> Yes, we do this in the Enterprise Pharo book.
> 
> For example there is a link to NeoJSON in the STON chapter 
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/STON/STON.html
> 
> --
> Does this mail seem too brief? Sorry for that, I don’t mean to be rude! 
> Please see http://emailcharter.org .
> 
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
> Chile
> 
>> On Sep 30, 2016, at 15:45, Tudor Girba  wrote:
>> 
>> Hi,
>> 
>> I am playing with Pillar, and I am now would like to link different chapters 
>> to one another. For example, in the old Pier book support, we could write 
>> something like:
>> 
>>  *ref:../anotherchapter/section*
>> 
>> and this would result in a rendering like:
>>  
>>   Section 15.3 (with a link)
>> 
>> Is there a support already in place for this in Pillar?
>> 
>> Cheers,
>> Doru
>> 
>> 
>> --
>> www.tudorgirba.com
>> www.feenk.com
>> 
>> "Every successful trip needs a suitable vehicle."
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

--
www.tudorgirba.com
www.feenk.com

"Yesterday is a fact.
 Tomorrow is a possibility.
 Today is a challenge."







Re: [Pharo-users] pillar: how to link to different parts?

2016-09-30 Thread Johan Fabry

Yes, we do this in the Enterprise Pharo book.

For example there is a link to NeoJSON in the STON chapter 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/STON/STON.html

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please 
see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
Chile

> On Sep 30, 2016, at 15:45, Tudor Girba  wrote:
> 
> Hi,
> 
> I am playing with Pillar, and I am now would like to link different chapters 
> to one another. For example, in the old Pier book support, we could write 
> something like:
> 
>   *ref:../anotherchapter/section*
> 
> and this would result in a rendering like:
>   
>Section 15.3 (with a link)
> 
> Is there a support already in place for this in Pillar?
> 
> Cheers,
> Doru
> 
> 
> --
> www.tudorgirba.com
> www.feenk.com
> 
> "Every successful trip needs a suitable vehicle."
> 
> 
> 
> 
> 
> 
> 




[Pharo-users] pillar: how to link to different parts?

2016-09-30 Thread Tudor Girba
Hi,

I am playing with Pillar, and I am now would like to link different chapters to 
one another. For example, in the old Pier book support, we could write 
something like:

*ref:../anotherchapter/section*

and this would result in a rendering like:

 Section 15.3 (with a link)

Is there a support already in place for this in Pillar?

Cheers,
Doru


--
www.tudorgirba.com
www.feenk.com

"Every successful trip needs a suitable vehicle."








Re: [Pharo-users] Slides online: "Perfection & Feedback Loops" talk from esug

2016-09-30 Thread Offray Vladimir Luna Cárdenas
Thanks Markus and Oscar. Effectively, the reading of the slides improves 
a lot!


Cheers,

Offray


On 30/09/16 04:45, Marcus Denker wrote:

Hi,

- I merged the annotations with the main slides set using annotation 
sides (thanks to Oscar for that idea!)

- The Video is online on youtube, too.

http://www.slideshare.net/MarcusDenker/perfection-feedback-loops-or-why-worse-is-better-65540840 



Marcus

On Fri, Sep 2, 2016 at 8:38 AM, Marcus Denker > wrote:


Hi,

At ESUG last Friday I gave a talk "Perfection & Feedback Loops or:
why worse is better”, I was asked for the slides.

They are now online:


http://www.slideshare.net/MarcusDenker/perfection-feedback-loops-or-why-worse-is-better-65540840



As the slides do not contain much (just headlines), I created a
special “Annotated” version with links and some comments
so one can follow better:

http://marcusdenker.de/talks/16ESUG/FeedbackLoopsAnnotated.pdf


PDF and .key file are there, too:
http://marcusdenker.de/talks/16ESUG/

(the .key file contains the embedded videos shown).

A video of the presentation should be available soon.


Marcus




--
--
Marcus Denker  -- den...@acm.org 
http://www.marcusdenker.de




Re: [Pharo-users] bytes to utf8 string / byte stream parsing

2016-09-30 Thread Sven Van Caekenberghe
Hi Fabrice,

'élève en Français' utf8Encoded. 

#[195 169 108 195 168 118 101 32 101 110 32 70 114 97 110 195 167 97 105 115] 
utf8Decoded.

Read 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-Encoding-Meta/Zinc-Encoding-Meta.html

Sven

> On 30 Sep 2016, at 12:57, Fabrice Leal  wrote:
> 
> can anyone provide me some pointers on how to turn a bunch of bytes into a 
> utf8 string?
> 
> i'm planning on writing a byte stream parser, would appreciate anything you 
> might find useful in addition to the Streams chapter from Pharo by Example
> 
> -- 
> ---
> Fabrice Leal




Re: [Pharo-users] bytes to utf8 string / byte stream parsing

2016-09-30 Thread Fabrice Leal
ah i think i found it

bytes decodeWith: 'utf8'.

On Fri, Sep 30, 2016 at 11:57 AM, Fabrice Leal 
wrote:

> can anyone provide me some pointers on how to turn a bunch of bytes into a
> utf8 string?
>
> i'm planning on writing a byte stream parser, would appreciate anything
> you might find useful in addition to the Streams chapter from Pharo by
> Example
>
> --
> ---
> Fabrice Leal
>



-- 
---
Fabrice Leal


[Pharo-users] bytes to utf8 string / byte stream parsing

2016-09-30 Thread Fabrice Leal
can anyone provide me some pointers on how to turn a bunch of bytes into a
utf8 string?

i'm planning on writing a byte stream parser, would appreciate anything you
might find useful in addition to the Streams chapter from Pharo by Example

-- 
---
Fabrice Leal


Re: [Pharo-users] Speeding-up >>#instVarNamed: in Pharo-5.0 and beyond?

2016-09-30 Thread Marcus Denker
On Thu, Sep 29, 2016 at 10:34 AM, Holger Freyther 
wrote:

>
> > On 29 Sep 2016, at 10:25, Marcus Denker  wrote:
> >
> >
>
> >
> > Slice committed:
> >
> > https://pharo.fogbugz.com/f/cases/19155/speedup-instVarNamed
> >
> >   Marcus
>
>
> that was quick!
>
> I had locally modified to use 1 to: specLayout size do: [] and then use
> specLayout at: directly. It seemed to make a small difference as well
>
> So I was "lucky" to pick PointerLayout as class to put the method in?
> classLayout will always be an instance of PointerLayout (or its subclasses)?
>
> For all classes with ivars, yes. But we need to add a method to the
superclass, too (which does nothing).

  I will commit another iteration.


--
Marcus Denker  --  den...@acm.org
http://www.marcusdenker.de


Re: [Pharo-users] Slides online: "Perfection & Feedback Loops" talk from esug

2016-09-30 Thread Marcus Denker
Hi,

- I merged the annotations with the main slides set using annotation sides
(thanks to Oscar for that idea!)
- The Video is online on youtube, too.

http://www.slideshare.net/MarcusDenker/perfection-
feedback-loops-or-why-worse-is-better-65540840

Marcus

On Fri, Sep 2, 2016 at 8:38 AM, Marcus Denker 
wrote:

> Hi,
>
> At ESUG last Friday I gave a talk "Perfection & Feedback Loops or: why
> worse is better”, I was asked for the slides.
>
> They are now online:
>
> http://www.slideshare.net/MarcusDenker/perfection-
> feedback-loops-or-why-worse-is-better-65540840
>
> As the slides do not contain much (just headlines), I created a special
> “Annotated” version with links and some comments
> so one can follow better:
>
> http://marcusdenker.de/talks/16ESUG/FeedbackLoopsAnnotated.pdf
>
> PDF and .key file are there, too: http://marcusdenker.de/talks/16ESUG/
> (the .key file contains the embedded videos shown).
>
> A video of the presentation should be available soon.
>
>
> Marcus




-- 
--
Marcus Denker  --  den...@acm.org
http://www.marcusdenker.de


Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread Denis Kudriashov
2016-09-30 10:36 GMT+02:00 Stephan Eggermont :

> Hi.
>>
>> I use this script to install and start server:
>>
>> Metacello new
>> configuration: 'Seaside3';
>> repository:
>> 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
>> version: '3.2.0';
>> load.
>>
>> server := ZnZincServerAdaptor startOn: 8080
>>
> You probably want to refer to #'release3.2' as the version though
> (as that gives you 3.2.1, and will receive bugfixes)


Yes. I forgot about it.


Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread Norbert Hartl
Stef,

> Am 30.09.2016 um 08:47 schrieb stepharo :
> 
> Hi guys
> 
> I wanted to show latest version of Seaside and I took Seaside on CI
> 
> and I do not get ZincAdaptor. Seaside looks dying to me sadly.
> 
> What should I do ?
> 
seaside is not (!!) dying. 

If you do 

Metacello new
configuration: 'Seaside3';
repository:
'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
version: '3.2.0';
load.

you load everything needed. I must confess I'm always confused about that, too. 
Meaning from where to load which configuration. In this regard seaside is a 
complete mess.
Seems like the catalog does not point to the right version, not good.

After that….You open the World menu->tools->seaside control panel. 
Right-click->add-adaptor und choose ZnZincServerAdaptor. Enter port 8080 
(alread there) and ok. Point your browser to http://localhost:8080/ et voilà

Norbert


Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread Stephan Eggermont

On 30-09-16 09:57, Denis Kudriashov wrote:

Hi.

I use this script to install and start server:

Metacello new
configuration: 'Seaside3';
repository:
'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
version: '3.2.0';
load.

server := ZnZincServerAdaptor startOn: 8080

You probably want to refer to #'release3.2' as the version though
(as that gives you 3.2.1, and will receive bugfixes)

Stephan




Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread Denis Kudriashov
Hi.

I use this script to install and start server:

Metacello new
configuration: 'Seaside3';
repository:
'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
version: '3.2.0';
load.

server := ZnZincServerAdaptor startOn: 8080

2016-09-30 8:47 GMT+02:00 stepharo :

> Hi guys
>
> I wanted to show latest version of Seaside and I took Seaside on CI
>
> and I do not get ZincAdaptor. Seaside looks dying to me sadly.
>
> What should I do ?
>
> Stef
>
>
>


Re: [Pharo-users] About Seaside3.2

2016-09-30 Thread Denis Kudriashov
2016-09-30 9:57 GMT+02:00 Denis Kudriashov :

> Hi.
>
> I use this script to install and start server:
>
> Metacello new
> configuration: 'Seaside3';
> repository:
> 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
> version: '3.2.0';
> load.
>
> server := ZnZincServerAdaptor startOn: 8080
>

It works without problem for me