Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Guillermo Polito
Thanks,

I starred the issue in the google code site.

On Mon, Sep 29, 2014 at 7:43 AM, Hernán Morales Durand 
hernan.mora...@gmail.com wrote:

 I have requested for some justice to stop the look down on Smalltalk
 syntax highlighting in StackOverflow:


 http://meta.stackoverflow.com/questions/272327/syntax-highlighting-for-smalltalk

 Maybe more votes (from you) would better support the request.
 Cheers,

 Hernán




Re: [Pharo-users] Machine learning in Pharo?

2014-09-29 Thread Martin Dias
Thanks Hernán!

On Thu, Sep 25, 2014 at 8:59 PM, Hernán Morales Durand 
hernan.mora...@gmail.com wrote:

 In BioSmalltalk you can do something like this:

 | cluster classifier trainedData observations|
  cluster := BioGroupOrganization forSimilarityOn: #value.
 trainedData := { 'Polaromonas naphthalenivorans CJ2' .
 'Polaromonas sp. JS666' .
 'Planctomyces limnophilus DSM 3776' .
 'Nautilia' .
 'Lactobacillus crispatus ST1' .
 'Acidithiobacillus ferrooxidans' }.
 trainedData do: [ : feature | cluster addOrganization: (BioOrganization
 new feature: feature) ].
 classifier := BioClassifier new organization: cluster.
 observations := 'Acidithiobacillus ferrooxidans ATCC 53993 chromosome,
 complete genome
 Lactobacillus crispatus ST1, complete genome
 Nautilia profundicola AmH chromosome, complete genome
 Planctomyces limnophilus DSM 3776 plasmid pPLIM01, complete sequence
 Planctomyces limnophilus DSM 3776 chromosome, complete genome
 Polaromonas sp. JS666 plasmid 2, complete sequence
 Polaromonas sp. JS666 plasmid 1, complete sequence
 Polaromonas sp. JS666, complete genome
 Polaromonas naphthalenivorans CJ2, complete genome
 Polaromonas naphthalenivorans CJ2 plasmid pPNAP08, complete sequence
 Polaromonas naphthalenivorans CJ2 plasmid pPNAP07, complete sequence
 Polaromonas naphthalenivorans CJ2 plasmid pPNAP06, complete sequence
 Polaromonas naphthalenivorans CJ2 plasmid pPNAP05, complete sequence
 Polaromonas naphthalenivorans CJ2 plasmid pPNAP04, complete sequence
 ' lines.
 observations do: [ : obs | classifier classify: obs ].
 classifier classesSize = 6.
 classifier maxClasses = 6.
 classifier maxClass feature = 'Polaromonas naphthalenivorans CJ2'.
 classifier minClasses = 1.
 classifier minClass feature = 'Nautilia'.

 Hernán

 2014-09-25 7:08 GMT-03:00 Martin Dias tinchod...@gmail.com:

 Hi all,

 I'm playing with weka [1] for classifying data using data mining/machine
 learning. I'm really new on this field so I want to give you a concrete
 example of my use case to make it clear:

 I have elements that can be classified as true or false. In a training
 phase, I set up a bayesian network with elements that I manually
 classified. Then, I can use such network for predicting the classification
 of new elements.

 --- my question is:
 Do we have a package for replacing weka-in-my-use-case in Pharo? It
 doesn't need to be exactly a bayesian network, it could be simpler.


 I looked a bit in Moose-Algos and in BioSmalltalk but I think they don't
 have what I need.

 I would appreciate any help. Cheers.
 Martín


 [1]: http://www.cs.waikato.ac.nz/ml/weka/






[Pharo-users] Pharo 32 bits

2014-09-29 Thread Annick Fron
Is it possible to download a 32 bits linux pharo vm ?

Annick



Re: [Pharo-users] Pharo 32 bits

2014-09-29 Thread Sven Van Caekenberghe
AFAIK the Pharo VM *is* 32-bit.

On 29 Sep 2014, at 12:57, Annick Fron l...@afceurope.com wrote:

 Is it possible to download a 32 bits linux pharo vm ?
 
 Annick
 




Re: [Pharo-users] Pharo 32 bits

2014-09-29 Thread Sven Van Caekenberghe
This is on a 32-bit Ubuntu 13.10

$ uname -a
Linux stfx 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:36:13 UTC 2013 i686 
i686 i686 GNU/Linux

$ curl get.pharo.org/30+vm | bash
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  2885  100  28850 0  19171  0 --:--:-- --:--:-- --:--:-- 19233
Downloading the latest 30 Image:
http://files.pharo.org/image/30/latest.zip
Pharo.image
Downloading the latest pharoVM:
http://files.pharo.org/vm/pharo/linux/stable.zip
pharo-vm/pharo
Downloading PharoV10.sources:
http://files.pharo.org/sources//PharoV10.sources.zip
Downloading PharoV20.sources:
http://files.pharo.org/sources//PharoV20.sources.zip
Downloading PharoV30.sources:
http://files.pharo.org/sources//PharoV30.sources.zip
Creating starter scripts pharo and pharo-ui

$ file pharo-vm/pharo 
pharo-vm/pharo: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.6.24, 
BuildID[sha1]=0xd88118f34ce96590cabfada3172b5f153b92e88e, not stripped

On 29 Sep 2014, at 13:01, Sven Van Caekenberghe s...@stfx.eu wrote:

 AFAIK the Pharo VM *is* 32-bit.
 
 On 29 Sep 2014, at 12:57, Annick Fron l...@afceurope.com wrote:
 
 Is it possible to download a 32 bits linux pharo vm ?
 
 Annick
 
 




Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Stephan Eggermont
Voted



Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Thushar G R
done

On Mon, Sep 29, 2014 at 5:19 PM, Stephan Eggermont step...@stack.nl wrote:

 Voted




Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Yuriy Tymchuk

 On 29 Sep 2014, at 17:50, Alexandre Bergel alexandre.ber...@me.com wrote:
 
 Just wondering, what is “SE network”?

Probably Stack Exchange

 
 Cheers,
 Alexandre
 
 
 
 On Sep 29, 2014, at 4:49 AM, Stephan Eggermont step...@stack.nl wrote:
 
 Voted
 
 
 -- 
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 




Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Alexandre Bergel
Just wondering, what is “SE network”?

Cheers,
Alexandre



On Sep 29, 2014, at 4:49 AM, Stephan Eggermont step...@stack.nl wrote:

 Voted
 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Alexandre Bergel
Ok…

Alexandre


On Sep 29, 2014, at 8:55 AM, Yuriy Tymchuk yuriy.tymc...@me.com wrote:

 
 On 29 Sep 2014, at 17:50, Alexandre Bergel alexandre.ber...@me.com wrote:
 
 Just wondering, what is “SE network”?
 
 Probably Stack Exchange
 
 
 Cheers,
 Alexandre
 
 
 
 On Sep 29, 2014, at 4:49 AM, Stephan Eggermont step...@stack.nl wrote:
 
 Voted
 
 
 -- 
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 
 
 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Re: [Pharo-users] Versioneer. nice. mmMmmm...

2014-09-29 Thread Christophe Demarey
Hi Ben,

Le 22 sept. 2014 à 18:23, Ben Coman a écrit :

 
 While I had done the Versioneer tutorial some time ago, I had some inertial 
 problem using it in anger.  Now I'm happy to report using it just now to 
 update the ConfigurationOfPharoLauncher was simple and smooth - which is 
 great since I've never done a Configuration by hand.  I thought it would be 
 useful for others to see how simple it was...
 
 1. Loaded latest ConfigurationOfPharoLauncher.
 2. Loaded and tested newer PharoLauncher packages.
 
 3. Opened World  Tools  Versioneer.
 4. Selected PharoLauncher and Open Project.
 5. Selected development list item.
 6. Clicked Release Version and Ok to accept auto increment of version 
 number.
 7. Clicked Commit the project
 Now there is an updated ConfigurationOfPharoLauncher in its Smalltalkhub 
 repository.
 
 Easy with Versioneer.  mmM. nice. shiny.
 cheers -ben

I'm happy to see that this tool is useful. Still improvable on many points but 
helps a lot for basic tasks.

Christophe



smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-29 Thread Udo Schneider

Hi Damien,

I think the most important thing to start with is not to add content,
 but to put the content you already have in
 https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english.
 You will have to use Pillar:
 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.pillar.pdf
I did write the entry in Markdown - so converting it to Pillar shouldn't 
be a big deal. I'll start translating t now.


Best Regards,

Udo



On 28.09.2014 11:08, Damien Cassou wrote:

Hi Udo,

On Thu, Sep 25, 2014 at 10:28 PM, Udo Schneider
udo.schnei...@homeaddress.de wrote:

We could easily turn your blog into a chapter for a future book :)

Wow! I didn't really expect that! But I'd happy to help any way I can. Maybe
by adding some bits an pieces how to parse blocks with multiple expressions?



I think the most important thing to start with is not to add content,
but to put the content you already have in
https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english.
You will have to use Pillar:
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.pillar.pdf







Re: [Pharo-users] Unicode support in Pharo

2014-09-29 Thread Sven Van Caekenberghe

On 29 Sep 2014, at 19:10, Robert Shiplett grshipl...@gmail.com wrote:

 Must be a thing about European guys ...
 
 quote
 
 - ByteString is needed for most european/occidental people who don't care 
 about internationalization and should stay because Pharo is an 
 european/english based system , also not to break existing code
 (again will be transparent to most users for same reason).
 
 /unquote
 
 Of all reasons to retain ByteString, let's hope this one is not listed, lest 
 we appear ridiculous in our threads.

Apart from being incorrect, it is indeed a totally wrong formulation which 
furthermore gives a bad impression.

ByteString is simply an optimisation covering Strings where all characters use 
the lower 256 Unicode code points.

 On 26 September 2014 18:22, Alain Rastoul alf.mmm@gmail.com wrote:
 Le 26/09/2014 20:47, stepharo a écrit :
 I'm not expert and I would like to know what people think.
 But I think that we should consider
 
  - the impact of spur new object format. I would like to have
 unicode and clean the leadChar
 
 Stef
 
 
 Just to start a new thread about that, because it deserves it
 and also some people might appreciate :)
 (was in: Ridiculous we are).
 
 I may not be the most qualified to state on that but I give my 2c
 (this is a community isn't it ? please do not flame...)
 
 As Sven said, the situation is not so bad (quite good in fact): Pharo has 
 true unicode built-in support with WideString and encoders (great job, IMHO 
 this part of Zn components should be in the base system
 or in an internationalization package  not hidden in an htpp components 
 package).
 - encoding support has to be in the system : ZnEncoders(?) for utf8, unicode 
 and other encoders for locale support because of existing system basis, web 
 (utf8) and internationalization.
 - this will be transparent: Smalltalk is a typeless langage, one do not have 
 to specify String type (ByteString or WideString)
 - Spur new character encoding is very interesting (in alpha stage now) and 
 will be transparent for the same reason (though I'm still wondering of the 
 32bits/64 bits encoding on a 64 bits vm?).
 - ByteString is needed for most european/occidental people who don't care 
 about internationalization and should stay because Pharo is an 
 european/english based system , also not to break existing code
 (again will be transparent to most users for same reason).
 - some parts of the system seems to be not WideString/unicode aware :
 Pasting a Greek string in a workspace shows hieroglyphs (editors? morph?), 
 but GT Inspector display is ok.
 Font plugin seems to require little work : uses fopen instead of _wfopen 
 (utf16 version) on windows and needs utf8 convertion on unix.
 may be a check with File plugin (and other system related plugins) is also 
 needed?
 
 In short, some little additionnal work but a very good basis.
 (but what is leadChar about?)
 
 Regards,
 
 Alain
 
 
 




Re: [Pharo-users] Versioneer. nice. mmMmmm...

2014-09-29 Thread kilon alios
great tool, the only thing missing is a button to load the
configurations/versions.

On Mon, Sep 29, 2014 at 7:17 PM, Christophe Demarey 
christophe.dema...@inria.fr wrote:

 Hi Ben,

 Le 22 sept. 2014 à 18:23, Ben Coman a écrit :

 
  While I had done the Versioneer tutorial some time ago, I had some
 inertial problem using it in anger.  Now I'm happy to report using it just
 now to update the ConfigurationOfPharoLauncher was simple and smooth -
 which is great since I've never done a Configuration by hand.  I thought it
 would be useful for others to see how simple it was...
 
  1. Loaded latest ConfigurationOfPharoLauncher.
  2. Loaded and tested newer PharoLauncher packages.
 
  3. Opened World  Tools  Versioneer.
  4. Selected PharoLauncher and Open Project.
  5. Selected development list item.
  6. Clicked Release Version and Ok to accept auto increment of
 version number.
  7. Clicked Commit the project
  Now there is an updated ConfigurationOfPharoLauncher in its Smalltalkhub
 repository.
 
  Easy with Versioneer.  mmM. nice. shiny.
  cheers -ben

 I'm happy to see that this tool is useful. Still improvable on many points
 but helps a lot for basic tasks.

 Christophe




Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-29 Thread Udo Schneider

Hi Damien,

moving to Pillar was quite easy:
http://pillarhub.pharocloud.com/hub/UdoSchneider/6bqsrq7ut85ddotzjy2xqrtth

How to proceed?

Best Regards,

Udo


On 29.09.14 18:47, Udo Schneider wrote:

Hi Damien,

I think the most important thing to start with is not to add content,
  but to put the content you already have in
 
https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english.
  You will have to use Pillar:
 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.pillar.pdf

I did write the entry in Markdown - so converting it to Pillar shouldn't
be a big deal. I'll start translating t now.

Best Regards,

Udo



On 28.09.2014 11:08, Damien Cassou wrote:

Hi Udo,

On Thu, Sep 25, 2014 at 10:28 PM, Udo Schneider
udo.schnei...@homeaddress.de wrote:

We could easily turn your blog into a chapter for a future book :)

Wow! I didn't really expect that! But I'd happy to help any way I
can. Maybe
by adding some bits an pieces how to parse blocks with multiple
expressions?



I think the most important thing to start with is not to add content,
but to put the content you already have in
https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english.
You will have to use Pillar:
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.pillar.pdf