[Pharo-users] How to properly handle ConnectionClosed with Zinc?

2016-08-17 Thread Hernán Morales Durand
Hi, I have a situation where downloading lot of data results in ConnectionClosed. >>httpGet: urlString "Get the response from the given url" ^ [ ... .get: urlString ] on: ZnEntityTooLarge, ConnectionClosed do: [ : ex | ex isResumable ifTrue: [

[Pharo-users] Google building new OS with Dart

2016-08-17 Thread askoh
It became news a few days ago. It is called Fuchsia and is meant to run on all devices from IoT on up. The interesting thing is that Dart will be the main language. The developers promise to make Fuchsia run on Raspberry Pi 3 shortly. Since Dart is pretty close to Smalltalk, how can Smalltalk be

Re: [Pharo-users] Generating custom classes based on attributes from XML Document

2016-08-17 Thread monty
You now can match on attributes too. The attributes: arguments can be any attribute specification object or just an ordinary dict or other association collection (nil values mean a key just must be present with any value).   And there is visitor pattern support so you don't have to define

Re: [Pharo-users] Spec Widget positioning

2016-08-17 Thread Johan Fabry
I do not think so. The chapter is already big and should contain the solution Brad is looking for. Let’s see if he is satisfied, as a case study :-) -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan

Re: [Pharo-users] Spec Widget positioning

2016-08-17 Thread stepharo
Johan do you think that this example should be added to the layout chapter? Stef Le 17/8/16 à 21:10, Peter Uhnák a écrit : Hi, you normally control the (relative) sizes through the layout, e.g. ui := DynamicComposableModel new. ui instantiateModels: #(text TextInputFieldModel btn1

Re: [Pharo-users] Spec Widget positioning

2016-08-17 Thread Johan Fabry
A small comment with regard to the Spec booklet: Some chapters have not yet been worked on, but the layout chapter is done so I heartily recommend it! -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Re: [Pharo-users] Spec Widget positioning

2016-08-17 Thread Peter Uhnák
Hi, you normally control the (relative) sizes through the layout, e.g. ui := DynamicComposableModel new. ui instantiateModels: #(text TextInputFieldModel btn1 ButtonModel btn2 ButtonModel). ui btn1 label: 'Button 1'. ui btn2 label: 'Button 2'. layout := SpecColumnLayout composed newRow: [

[Pharo-users] Spec Widget positioning

2016-08-17 Thread Brad Selfridge
I'm trying to build a toolbar widget that contains two fixed width buttons, a variable width textInputBox followed by two more fixed width buttons. I'm not sure how to mix fixed and variable width widgets. Can someone give me an idea on how to do this? Thanks, - Brad Selfridge -- View

Re: [Pharo-users] MOOC for English learners

2016-08-17 Thread Gour
On Tue, 16 Aug 2016 22:07:26 +0200 stepharo wrote: > I added all the srt to the file server and now we discovered that we > should convert them in vtt. > So I writing a srt to vtt transformer because I failed to find one > running on mac. Thanks a lot for working on

Re: [Pharo-users] i18n & Unicode support in Pharo

2016-08-17 Thread Henrik Johansen
> On 17 Aug 2016, at 9:08 , Gour wrote: > > Hello, > > just starting with Pharo and I'm thinking about i18n/l10n capabilities > within environment to make one's app read for several langauges. > > I've found out I18n (http://smalltalkhub.com/#!/~TorstenBergmann/I18N) >

[Pharo-users] i18n & Unicode support in Pharo

2016-08-17 Thread Gour
Hello, just starting with Pharo and I'm thinking about i18n/l10n capabilities within environment to make one's app read for several langauges. I've found out I18n (http://smalltalkhub.com/#!/~TorstenBergmann/I18N) project but it seems there are no new contrubutions in last 2 years. I've also