Re: [Pharo-dev] [Screencast] request for review

2014-05-04 Thread Laurent Laffont
Thanks a lot Ben.


I'm going on holidays now, so I may not answer for ten days. I will work on 
this when I'm back.

Cheers,

Laurent


Le samedi 3 mai 2014, 23:16:54 Ben Coman a écrit :
 Laurent Laffont wrote:
 Hi,
 
 actually the video is accelerated (almost 40' video reduced to 14'), lot of 
 cuts to try to show a perfect workflow that nobody can have (I'm not an 
 alien, I just cheat :). Having the good timing and workflow is hard, I can 
 slowdown the video. My goals are:
 - create ah WHAOUH effect when watching the first time
 - come back later slowly, pause, try to do the thing
   
 Something might be said to that effect to introduce the video.
 
 Personnally I like things going fast because that's how I like it, but I 
 understand. With VLC you can adjust the timing easily (click on the 1.0x in 
 the status bar, bottom right), may be people can try and tell me the good 
 ratio for them.
 
 
 And yes, voice will be far better, but I would like a native-english 
 man/woman to record it.
 
 Cheers,
 
 Laurent
   
 I've uploaded a sample attempt as a first pass here...
 http://files.openinworld.com/temp/picasa_pharo3_narration.mp3
 
 However I'd like to give it another go to improve quality since:
 * my laptop is annoyingly heard to ramp its fan up and down as its working 
 hard with the multimedia.
 * there are a few times where your captions are too fast for me and I stumble 
 trying to keep up.. 
 * some of the captions break sentences into parts separated by dead space, 
 which doesn't sound natural.
 
 I really like it, but putting on my editorial cap, here are some notes on the 
 captions and my narrative:
 
 I was not entirely comfortable saying I.  Where its practical I'd like to 
 change that to we or it should etc.
 
 @0:00: It might be be good to narrate that this done in Pharo3 and caption 
 a link to the download  install instructions page.
 Also, mention that its expected that listeners first watch all the way 
 through, then replay in steps to do the build the code themselves.
 
 Without any direct experience but the ambiance I pick up around the web is 
 that many people require different programs for desktop and web, which 
 doubles the work, whereas Pharo it can all be one program.  Perhaps that is a 
 reasonable point of differentiation worth marketing? 
 So maybe @00:09:  Then how to build both a desktop application and a web 
 page served by Pharo itself to display them.
  --- build a desktop application and a web page in the bsame/b system
 
 @1:00 to @2:06: My narration falls behind the captions.  I think Metacello 
 doesn't need to be mentioned.  Its a distraction, and cutting it will help me 
 to keep up with the narrative.
 
 @5:18 you cut the code from Workspace and paste it into the Debugger @5:44.  
 This is too long in between.  Its hard to connect the two actions (I've been 
 playing it back an forth).  At 5:44 it would be better to drop back to 
 Workspace, cut, then immediately paste into the Debugger.
 
 @5:56 I don't think its worth saying that strings are collections of 
 characters.  Its enough to say that a comma concatenates string.
 
 @6:10 Introducing the refactoring tools is a distraction from showing how 
 fast you can do a web app.
 
 @6:30 Same for mentioning the format menu entry. 
 
 @6:50 More refactoring that I don't think is required.  You only need to sell 
 one hook at a time, and the main one here is
 speed of using some REST API
 
 @7:04 Same for reactoring to inline content variable to remove it
 
 @7:20 I fall behind.
 
 @9:50 Could split tutorial here when starting the web server.
 
 Early on we should describe the naming convention to put Zn in front of 
 Zinc components.
 
 @10:22 by implement the value: method in a class
 -- by implementing in a new class the value: method returning a Zinc http 
 response object.
  
 @10:56 ZNDefaultServerDelegatemap:to:   is a nice display format, but I 
 stumble over how to narrate it.
 
 @11:23 My narration falls behind as the captions go too fast.
 
 @12:40 I used to take it for granted that building a string with a stream was 
 faster, but in [pharo-dev] someone showed this wasn't always the case.   It 
 is distraction to introduce this new concept and maybe clearer to newcomers 
 to just stick with one way to concatenate string using comma.  There is a lot 
 of silence (except for my damn laptop fan) as this method is built.  I think 
 it would be reasonable to paste in this text, particularly if it uses commas 
 for concatenation. 
 
 At the end, invite the listener to program it themselves, stepping slowly 
 through the video.  Provide download link again, or link to a web blog page 
 that describes the steps.
 
 I could do some work to space the video to align with my narration, but I 
 await your instructions.  There are also some periods with no captions that I 
 might be able to fill in something.
 
 cheers -ben
 
 




Re: [Pharo-dev] some unordered FAQ

2014-05-04 Thread Hilaire Fernandes
It is a nice idea.
Could be organised in different categories, in different pages, to ease
searching and browsing.

Hilaire

Le 03/05/2014 18:34, oscar@gmail a écrit :
 
 
 This has not been updated in a long while, but it could be a starting point 
 if you want to create a new FAQ:
 
 http://scg.unibe.ch/wiki/faq/pharo
 
 Cheers,
 Oscar
 
 On 2 May 2014, at 19:35, Pavel Krivanek pavel.kriva...@gmail.com wrote:
 
 Hi, 

 would be nice to collect some FAQ that newcomers that want to use Pharo for 
 their business could ask. And of course start to answer them (code, links to 
 books...) ;-)


 How can I connect to a MySQL/MariaDB database and execute SQL commands 
 safely without worrying about SQL injection? How to do that with PostgreSQL, 
 Oracle and MS SQL? I’m using 32bit/64bit system.

 How can I connect to NoSQL databases (MongoDB, Couchbase, Riak)? I’m using 
 32bit/64bit system.

 Is there an OODB for Pharo?

 Are there some options for ORM? 

 How can I fork more Pharo images on the host OS level and communicate 
 between them?

 How can I read line from STDIN?

 How can I write to STDOUT?

 How can I read and write data from/to a serial port?

 How do I delete a file?

 How do I copy a file?

 How do I read and write binary data?

 How do I access the serial (RS232) port?

 How can I do code coverage analysis of my project?

 How do I send e-mail?

 How do I send e-mail in HTML format and with attached files?

 How can I serialize objects to a binary form?

 How can I parse XML file?

 How can I parse HTML file?

 How can I generate random numbers?

 What platform-independent GUI toolkits (GTK+, Qt, wxWidgets...) have a 
 binding for Pharo?

 How can I create an application with host OS native UI?

 How can I use OpenGL?

 How can I create binding for an external C/C++ library?

 Is there an automatic generator for external C/C++ libraries?

 How to do a Windows installer for Pharo applications?

 How to create a headless application on Windows and Mac OSX?

 Can I execute a Smalltalk code from C?

 How C I generate a bar/QR code?

 How can I generate a PDF with non-ASCII characters and ebedded fonts?

 How can I print from Pharo?

 How can I create an application with web interface?

 How can I serve static files from Pharo?

 Can I use Git for my Pharo projects?

 Can I develop applications for Android in Pharo?

 Can I develop applications for iOS in Pharo?

 Can I use DSA, SHA-1, SHA-2?

 How can I access to certificates registered in the host OS?

 Are there some interfaces to payment systems?

 How can I create image without development tools?

 Can I use VIM or Emacs to edit my code?

 How can I do Unicode normalization?

 
 
 

-- 
Dr. Geo http://drgeo.eu




Re: [Pharo-dev] New Website online

2014-05-04 Thread Geert Claes
How about either adding a link to the online forums using
pharo.forum.world.st or even embed the online forums using the Nabble
embedding options in the Get Help section?

Nabble forum embedding options:




--
View this message in context: 
http://forum.world.st/New-Website-online-tp4757241p4757808.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread Esteban Lorenzano
did you tried the latest vm? or the regular?

Esteban

On 01 May 2014, at 08:18, jannik laval jannik.la...@gmail.com wrote:

 I remember that the VM+ plugin were fixed.
 But these changes seems not present in Pharo3-win (installer zip).
 
 After loading PharoSound from ConfigurationBrowser, I execute this line:
 
 SoundPlayer boinkScale
 
 On MacOS it works, not on Windows
 
 Cheers
 
 -- 
 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/
 



[Pharo-dev] gui testing

2014-05-04 Thread Pablo R. Digonzelli
Hi, is there some framework for testing gui in pharo?. 
I mean something like parasol is doing with web apps. 

TIA 


Ing. Pablo Digonzelli 
Software Solutions 
IP-Solutiones SRL 
Metrotec SRL 
25 de Mayo 521 
Email: pdigonze...@softsargentina.com 
pdigonze...@gmail.com 
Cel: 5493815982714 



Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread Andreas Wacknitz
FWIW under (Open)Solaris sound isn’t working either.
I only got the first tone then silence (checked it with Squeak 4.6:
(FMSound lowMajorScaleOn: FMSound pluckedElecBass) play

This works under Mac OSX.

Andreas

Am 04.05.2014 um 11:06 schrieb Esteban Lorenzano esteba...@gmail.com:

 did you tried the latest vm? or the regular?
 
 Esteban
 
 On 01 May 2014, at 08:18, jannik laval jannik.la...@gmail.com wrote:
 
 I remember that the VM+ plugin were fixed.
 But these changes seems not present in Pharo3-win (installer zip).
 
 After loading PharoSound from ConfigurationBrowser, I execute this line:
 
 SoundPlayer boinkScale
 
 On MacOS it works, not on Windows
 
 Cheers
 
 -- 
 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/
 
 



Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread Esteban Lorenzano

On 04 May 2014, at 11:20, Andreas Wacknitz a.wackn...@gmx.de wrote:

 FWIW under (Open)Solaris sound isn’t working either.
 I only got the first tone then silence (checked it with Squeak 4.6:
 (FMSound lowMajorScaleOn: FMSound pluckedElecBass) play

linux is a different story, and probably that affects other unixes as well: the 
libALSA is being replaced for libpulse (at least in ubuntu boxes) and that is 
causing a lot of problems. Now I more or less made ALSA work, but just part of 
it and I suppose that happens if the weather is well, etc. etc. I still have in 
my todo made a proper port of the ancient pulse support, but so far… not ready 
:)

Esteban

 
 This works under Mac OSX.
 
 Andreas
 
 Am 04.05.2014 um 11:06 schrieb Esteban Lorenzano esteba...@gmail.com:
 
 did you tried the latest vm? or the regular?
 
 Esteban
 
 On 01 May 2014, at 08:18, jannik laval jannik.la...@gmail.com wrote:
 
 I remember that the VM+ plugin were fixed.
 But these changes seems not present in Pharo3-win (installer zip).
 
 After loading PharoSound from ConfigurationBrowser, I execute this line:
 
 SoundPlayer boinkScale
 
 On MacOS it works, not on Windows
 
 Cheers
 
 -- 
 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/
 
 
 



Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread Andreas Wacknitz

Am 04.05.2014 um 11:24 schrieb Esteban Lorenzano esteba...@gmail.com:

 
 On 04 May 2014, at 11:20, Andreas Wacknitz a.wackn...@gmx.de wrote:
 
 FWIW under (Open)Solaris sound isn’t working either.
 I only got the first tone then silence (checked it with Squeak 4.6:
 (FMSound lowMajorScaleOn: FMSound pluckedElecBass) play
 
 linux is a different story, and probably that affects other unixes as well: 
 the libALSA is being replaced for libpulse (at least in ubuntu boxes) and 
 that is causing a lot of problems. Now I more or less made ALSA work, but 
 just part of it and I suppose that happens if the weather is well, etc. etc. 
 I still have in my todo made a proper port of the ancient pulse support, but 
 so far… not ready :)
 
 Esteban
 
That’s what I hate about Linux: nothing is stable and everybody reinvents 
everything every now and then. And if the many Linux distributions use the same
modules you can be sure that there is a race for the newest version of it.
My Solaris VM doesn’t use ALSA. I tried alsa-lib for OpenSolaris from SFE 
repository but it’s not needed and thus I removed the library.

Andreas



Re: [Pharo-dev] New Website online

2014-05-04 Thread Hilaire Fernandes
It will be helpful indeed, the Forum really looks modern and handy
compared to the traditionnal mailing list archive. I always use the
former one, I guess the same for others.

Hilaire

Le 04/05/2014 10:49, Geert Claes a écrit :
 How about either adding a link to the online forums using
 pharo.forum.world.st or even embed the online forums using the Nabble
 embedding options in the Get Help section?
 
 Nabble forum embedding options:
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/New-Website-online-tp4757241p4757808.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 
 

-- 
Dr. Geo http://drgeo.eu




[Pharo-dev] Immutability in the VM - is it hard?

2014-05-04 Thread Aaron Rosenzweig
Hello,

Why is the concept of “immutability” special to VisualWorks? Is it something 
hard to add to other Smalltalk dialects such as Pharo or are there other 
reasons for not having it?

When I read the docs for the GOODS database client it says the following:

“The GOODS client uses this immutability support for change detection.”

It goes on to say that this is only for VisualWorks. For Pharo it says that it 
is generally slow to commit changes because the client to the OODB has to spent 
extra time detecting change detection. I guess for VisualWorks it is basically 
“free” to detect a change in an object. 

Thank you,
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319 




Re: [Pharo-dev] Immutability in the VM - is it hard?

2014-05-04 Thread Clément Bera
Hello,

Immutability needs to be implemented in the VM. It is quite some work on
the current memory manager. Few people have enough skills to do this kind
of changes nicely and efficiently, and none of them had enough time to do
it. However, things are now moving quicker and quicker and some work and
immutability has started.

Right now part of the VM work is focusing the new memory manager Spur that
will be released for Pharo 4. This new memory manager will feature
immutability (1 bit in the object header is now reserved for this purpose).
However, although immutability is required by some projects and people, it
is quite far away on the To Do list right now (firstly, the new memory
manager needs to work efficiently, be stable, be in production, ...).
Therefore, you may have to wait for Pharo 5 (2 years from now) to have
immutability in production.

Best,
Clement


2014-05-04 8:40 GMT-07:00 Aaron Rosenzweig aa...@chatnbike.com:

 Hello,

 Why is the concept of “immutability” special to VisualWorks? Is it
 something hard to add to other Smalltalk dialects such as Pharo or are
 there other reasons for not having it?

 When I read the docs for the GOODS database client it says the following:

 “The GOODS client uses this immutability support for change detection.”

 It goes on to say that this is only for VisualWorks. For Pharo it says
 that it is generally slow to commit changes because the client to the OODB
 has to spent extra time detecting change detection. I guess for VisualWorks
 it is basically “free” to detect a change in an object.

 Thank you,*Aaron Rosenzweig* / Chat 'n Bike http://www.chatnbike.com
 *e:*  aa...@chatnbike.com  *t:*  (301) 956-2319   [image: Chat 'n Bike]  
 [image:
 Chat 'n Bike]




Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread jannik laval
This is the one embedded in a one-click

Virtual Machine
---
/Users/janniklaval/Desktop/Pharo3.0.app/Contents/MacOS/Pharo
NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid:
acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid:
acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
https://github.com/pharo-project/pharo-vm.git Commit:
e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800
By: Esteban Lorenzano esteba...@gmail.com Jenkins build #14780


2014-05-04 11:06 GMT+02:00 Esteban Lorenzano esteba...@gmail.com:

 did you tried the latest vm? or the regular?

 Esteban

 On 01 May 2014, at 08:18, jannik laval jannik.la...@gmail.com wrote:

 I remember that the VM+ plugin were fixed.
 But these changes seems not present in Pharo3-win (installer zip).

 After loading PharoSound from ConfigurationBrowser, I execute this line:

 SoundPlayer boinkScale

 On MacOS it works, not on Windows

 Cheers

 --

 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/





-- 

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://car.mines-douai.fr/


Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread Esteban Lorenzano
try downloading the latest 

get.pharo.org/vmLatest

I did not have time to promote latest vm to stable, but sound should be working 
there (and not in current stable), for windows. 

Esteban

On 04 May 2014, at 18:20, jannik laval jannik.la...@gmail.com wrote:

 This is the one embedded in a one-click
 
 Virtual Machine
 ---
 /Users/janniklaval/Desktop/Pharo3.0.app/Contents/MacOS/Pharo
 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: 
 acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: 
 acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
 https://github.com/pharo-project/pharo-vm.git Commit: 
 e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: 
 Esteban Lorenzano esteba...@gmail.com Jenkins build #14780
 
 
 2014-05-04 11:06 GMT+02:00 Esteban Lorenzano esteba...@gmail.com:
 did you tried the latest vm? or the regular?
 
 Esteban
 
 On 01 May 2014, at 08:18, jannik laval jannik.la...@gmail.com wrote:
 
 I remember that the VM+ plugin were fixed.
 But these changes seems not present in Pharo3-win (installer zip).
 
 After loading PharoSound from ConfigurationBrowser, I execute this line:
 
 SoundPlayer boinkScale
 
 On MacOS it works, not on Windows
 
 Cheers
 
 -- 
 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/
 
 
 
 
 
 -- 
 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/
 



Re: [Pharo-dev] Immutability in the VM - is it hard?

2014-05-04 Thread Esteban A. Maringolo
Just as a reference. Dolphin Smalltalk supports immutability. It is really
handy for marking dirty objects during persistence.


Re: [Pharo-dev] New Website online

2014-05-04 Thread Hilaire Fernandes
May be the adjective agile could be plugged somewhere in this
abstract, as it is à la mode and perfectly describes an intrinsic
quality of Pharo.

Hilaire

Le 30/04/2014 19:19, Esteban Lorenzano a écrit :
 ok, I have put the first suggestion. I can try the other one too… as you 
 prefer :)

-- 
Dr. Geo http://drgeo.eu




Re: [Pharo-dev] Sound input does not work

2014-05-04 Thread jannik laval
My fault, it works on MacOS.


2014-05-01 15:29 GMT+02:00 jannik laval jannik.la...@gmail.com:

 Hello Pharoers,

 I am trying to play with sound in Pharo v3.0, and the sound input does not
 work.

 I tried:
 SpectrumAnalyzerMorph new openInWorld

 Cheers,
 --

 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/




-- 

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://car.mines-douai.fr/


Re: [Pharo-dev] Pharo 3 and Sound

2014-05-04 Thread jannik laval
Ok, it works on the latest.

A 2 cents question :
I am using the one-click to provide a release of Phratch, I hope to have
sound working on it. Do you plan to promote latest to stable soon ? or
should I modify my ci jobs to take vmLatest ?

I know all the work you have and I imagine that this is not urgent. I just
want to know if I have to modify my jobs.

Thank you,
Jannik


2014-05-04 19:17 GMT+02:00 Esteban Lorenzano esteba...@gmail.com:

 try downloading the latest

 get.pharo.org/vmLatest

 I did not have time to promote latest vm to stable, but sound should be
 working there (and not in current stable), for windows.

 Esteban

 On 04 May 2014, at 18:20, jannik laval jannik.la...@gmail.com wrote:

 This is the one embedded in a one-click

 Virtual Machine
 ---
 /Users/janniklaval/Desktop/Pharo3.0.app/Contents/MacOS/Pharo
 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid:
 acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid:
 acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
 https://github.com/pharo-project/pharo-vm.git Commit:
 e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800
 By: Esteban Lorenzano esteba...@gmail.com Jenkins build #14780


 2014-05-04 11:06 GMT+02:00 Esteban Lorenzano esteba...@gmail.com:

 did you tried the latest vm? or the regular?

 Esteban

 On 01 May 2014, at 08:18, jannik laval jannik.la...@gmail.com wrote:

 I remember that the VM+ plugin were fixed.
 But these changes seems not present in Pharo3-win (installer zip).

 After loading PharoSound from ConfigurationBrowser, I execute this line:

 SoundPlayer boinkScale

 On MacOS it works, not on Windows

 Cheers

 --

 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/





 --

 ~~Jannik Laval~~
 École des Mines de Douai
 Enseignant-chercheur
 http://www.jannik-laval.eu
 http://www.phratch.com
 http://car.mines-douai.fr/





-- 

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://car.mines-douai.fr/


Re: [Pharo-dev] Usage of should: in tests

2014-05-04 Thread Nicolas Cellier
2014-05-02 10:16 GMT+02:00 Henrik Johansen henrik.s.johan...@veloxit.no:


 On 01 May 2014, at 12:52 , Nicolas Cellier 
 nicolas.cellier.aka.n...@gmail.com wrote:

  Hi,
  I see many usage of #should: in SciSmalltalk tests that could simply be
 turned into #assert: or eventually #assert:equals:
  Why wanting to use a block?
  Other than #should:raise: and #shouldnt:raise:, I don't really see the
 point of #should: alone anyway...
  IMO should: should be deprecated, less is more.
  I'm possibly the author of several of these #should: sends, so don't
 take it personnally ;)
 
  P.S. or is it easier to restart the block in the Debugger?
  I cross post to pharo-dev because it's a generic question, and there are
 a few #should: sends in Pharo-3.0 too.

 Reading code with should:, I always imagined a trailing question mark...

 self should: [IHaveIceCreamForLunch] ?

 And even more so with should:raise:

 self should [thisPieceOfCode] raise: SomeError ?

 I dunno, you tell me!

 The potentially constructive suggestion out of that, is that, at least to
 me,
 assert:raises: deny:raises: sound more natural than assert:raise: when
 read out loud.


I see, an affirmative form could be:
[thisPieceOfCode] shouldRaise: SomeError

but we need to insert the testimony of SUnit...
assert:raises: is exactly that, and makes sense


 Cheers,
 Henry



Re: [Pharo-dev] Immutability in the VM - is it hard?

2014-05-04 Thread Alexandre Bergel
Why is immutability related to the memory management? Are you referring to the 
change in the header, therefore the garbage collector has to be aware of the 
extra bit?

Cheers,
Alexandre

 Le 04-05-2014 à 12:05, Clément Bera bera.clem...@gmail.com a écrit :
 
 Hello,
 
 Immutability needs to be implemented in the VM. It is quite some work on the 
 current memory manager. Few people have enough skills to do this kind of 
 changes nicely and efficiently, and none of them had enough time to do it. 
 However, things are now moving quicker and quicker and some work and 
 immutability has started.
 
 Right now part of the VM work is focusing the new memory manager Spur that 
 will be released for Pharo 4. This new memory manager will feature 
 immutability (1 bit in the object header is now reserved for this purpose). 
 However, although immutability is required by some projects and people, it is 
 quite far away on the To Do list right now (firstly, the new memory manager 
 needs to work efficiently, be stable, be in production, ...). Therefore, you 
 may have to wait for Pharo 5 (2 years from now) to have immutability in 
 production.
 
 Best,
 Clement
 
 
 2014-05-04 8:40 GMT-07:00 Aaron Rosenzweig aa...@chatnbike.com:
 Hello,
 
 Why is the concept of “immutability” special to VisualWorks? Is it something 
 hard to add to other Smalltalk dialects such as Pharo or are there other 
 reasons for not having it?
 
 When I read the docs for the GOODS database client it says the following:
 
 “The GOODS client uses this immutability support for change detection.”
 
 It goes on to say that this is only for VisualWorks. For Pharo it says that 
 it is generally slow to commit changes because the client to the OODB has to 
 spent extra time detecting change detection. I guess for VisualWorks it is 
 basically “free” to detect a change in an object. 
 
 Thank you,
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319  
  
 
 


Re: [Pharo-dev] Immutability in the VM - is it hard?

2014-05-04 Thread Sebastian Sastre

On May 4, 2014, at 2:17 PM, Esteban A. Maringolo emaring...@gmail.com wrote:

 Just as a reference. Dolphin Smalltalk supports immutability. It is really 
 handy for marking dirty objects during persistence.
 

+1 

I remember using that feature there once or twice




[Pharo-dev] Is there a DICOM image reader in Smalltalk?

2014-05-04 Thread askoh
DICOM or DCM images are widely used in medical imaging. Is there a Smalltalk
image reader for that format?

Thanks in advance,
Aik-Siong Koh 



--
View this message in context: 
http://forum.world.st/Is-there-a-DICOM-image-reader-in-Smalltalk-tp4757893.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



[Pharo-dev] WhatsUp from: 2014-05-05 until: 2014-05-18

2014-05-04 Thread seaside
Hi! We're sending this automatic email twice a month, to give the community an 
opportunity to easily know what's happening and to coordinate efforts.  Just 
answer informally, and feel free to spawn discussions thereafter!

### Here's what I've been up to since the last WhatsUp:

- $HEROIC_ACHIEVEMENTS_OR_DISMAL_FAILURES_OR_SIMPLE_BORING_NECESSARY_TASKS

### What's next, until 2014-05-18 (*):

- $NEXT_STEPS_TOWARDS_WORLD_DOMINATION

(*) we'll be expecting results by then ;)